org.basex.query.regex
Class LineBorder

java.lang.Object
  extended by org.basex.query.regex.RegExp
      extended by org.basex.query.regex.LineBorder

public final class LineBorder
extends RegExp

Line start (^) or line end ($).

Author:
BaseX Team 2005-12, BSD License, Leo Woerteler

Method Summary
static LineBorder get(boolean start, boolean multi)
          Getter for the cached LineBorder instance.
 
Methods inherited from class org.basex.query.regex.RegExp
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

get

public static LineBorder get(boolean start,
                             boolean multi)
Getter for the cached LineBorder instance.

Parameters:
start - ^ if true, $ otherwise
multi - multi-line flag
Returns:
the instance