public class RegExLexer extends java.lang.Object implements TokenManager, RegExParserConstants
BACK_REF, BR_CLOSE, BR_OPEN, CAT_ESC, CHAR, COMMA, DIGIT, EOF, LINE_END, LINE_START, MULTI_ESC, NEG, NPAR_OPEN, NUMBER, OR, PAR_CLOSE, PAR_OPEN, PLUS, Q_MARK, QUANT_CLOSE, QUANT_OPEN, SINGLE_ESC, STAR, TO, tokenImage, WILDCARD| Constructor and Description |
|---|
RegExLexer(byte[] regex,
boolean strip)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
getNextToken()
This gets the next token from the input stream.
|
public RegExLexer(byte[] regex,
boolean strip)
regex - input stringstrip - strip whitespacepublic Token getNextToken()
TokenManagergetNextToken in interface TokenManager