gnu.regexp
Class RETokenWordBoundary

java.lang.Object
  extended by gnu.regexp.REToken
      extended by gnu.regexp.RETokenWordBoundary
All Implemented Interfaces:
java.io.Serializable

final class RETokenWordBoundary
extends REToken

Represents a combination lookahead/lookbehind for POSIX [:alnum:].


Field Summary
(package private) static int BEGIN
           
(package private) static int END
           
 
Fields inherited from class gnu.regexp.REToken
next, subIndex, uncle
 
Constructor Summary
RETokenWordBoundary(int subIndex, int where, boolean negated)
           
 
Method Summary
(package private)  void dump(java.lang.StringBuffer os)
           
(package private)  boolean match(CharIndexed input, REMatch mymatch)
          Returns true if the match succeeded, false if it failed.
 
Methods inherited from class gnu.regexp.REToken
chain, dumpAll, getMinimumLength, next, setUncle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEGIN

static final int BEGIN
See Also:
Constant Field Values

END

static final int END
See Also:
Constant Field Values
Constructor Detail

RETokenWordBoundary

RETokenWordBoundary(int subIndex,
                    int where,
                    boolean negated)
Method Detail

match

boolean match(CharIndexed input,
              REMatch mymatch)
Description copied from class: REToken
Returns true if the match succeeded, false if it failed.

Specified by:
match in class REToken

dump

void dump(java.lang.StringBuffer os)
Specified by:
dump in class REToken