Modifier and Type | Class and Description |
---|---|
pack-priv static class |
Modifier and Type | Field and Description |
---|---|
pack-priv int | |
pack-priv int | |
pack-priv boolean | |
pack-priv int | |
pack-priv int | |
pack-priv int | |
pack-priv int | |
pack-priv int | |
pack-priv ArrayList | |
pack-priv String | |
pack-priv int | |
pack-priv ResourceBundle | |
protected static final int | |
protected static final int | |
protected static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int |
Access | Constructor and Description |
---|---|
public | |
public |
Modifier and Type | Method and Description |
---|---|
protected static final void | |
protected static final void | |
pack-priv boolean | |
pack-priv int | |
pack-priv final ParseException | |
pack-priv Token | |
private static final int | |
protected final boolean | |
pack-priv final void | |
pack-priv Token | |
pack-priv Token | parseAtom()
atom ::= char | '.' | char-class | '(' regex ')' | '(?:' regex ')' | '\' [0-9] | '\w' | '\W' | '\d' | '\D' | '\s' | '\S' | category-block | '(?>' regex ')' char ::= '\\' | '\' [efnrt] | bmp-code | character-1 |
protected RangeToken | |
pack-priv Token | parseFactor()
factor ::= ('^' | '$' | '\A' | '\Z' | '\z' | '\b' | '\B' | '\<' | '\>' | atom (('*' | '+' | '?' | minmax ) '?'? |
pack-priv Token | parseRegex()
regex ::= term (`|` term)* term ::= factor+ factor ::= ('^' | '$' | '\A' | '\Z' | '\z' | '\b' | '\B' | '\<' | '\>' | atom (('*' | '+' | '?' | minmax ) '?'? |
protected RangeToken | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
protected RangeToken | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv int | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv Token | |
pack-priv final int | |
protected final void | |
public void |
chardata | back to summary |
---|---|
pack-priv int chardata |
context | back to summary |
---|---|
pack-priv int context |
hasBackReferences | back to summary |
---|---|
pack-priv boolean hasBackReferences |
nexttoken | back to summary |
---|---|
pack-priv int nexttoken |
offset | back to summary |
---|---|
pack-priv int offset |
options | back to summary |
---|---|
pack-priv int options |
parennumber | back to summary |
---|---|
pack-priv int parennumber |
parenOpened | back to summary |
---|---|
pack-priv int parenOpened |
references | back to summary |
---|---|
pack-priv ArrayList<RegexParser. |
regex | back to summary |
---|---|
pack-priv String regex |
regexlen | back to summary |
---|---|
pack-priv int regexlen |
resources | back to summary |
---|---|
pack-priv ResourceBundle resources |
S_INBRACKETS | back to summary |
---|---|
protected static final int S_INBRACKETS |
S_INXBRACKETS | back to summary |
---|---|
protected static final int S_INXBRACKETS |
S_NORMAL | back to summary |
---|---|
protected static final int S_NORMAL |
T_BACKSOLIDUS | back to summary |
---|---|
pack-priv static final int T_BACKSOLIDUS |
T_CARET | back to summary |
---|---|
pack-priv static final int T_CARET |
T_CHAR | back to summary |
---|---|
pack-priv static final int T_CHAR |
T_COMMENT | back to summary |
---|---|
pack-priv static final int T_COMMENT |
T_CONDITION | back to summary |
---|---|
pack-priv static final int T_CONDITION |
T_DOLLAR | back to summary |
---|---|
pack-priv static final int T_DOLLAR |
T_DOT | back to summary |
---|---|
pack-priv static final int T_DOT |
T_EOF | back to summary |
---|---|
pack-priv static final int T_EOF |
T_INDEPENDENT | back to summary |
---|---|
pack-priv static final int T_INDEPENDENT |
T_LBRACKET | back to summary |
---|---|
pack-priv static final int T_LBRACKET |
T_LOOKAHEAD | back to summary |
---|---|
pack-priv static final int T_LOOKAHEAD |
T_LOOKBEHIND | back to summary |
---|---|
pack-priv static final int T_LOOKBEHIND |
T_LPAREN | back to summary |
---|---|
pack-priv static final int T_LPAREN |
T_LPAREN2 | back to summary |
---|---|
pack-priv static final int T_LPAREN2 |
T_MODIFIERS | back to summary |
---|---|
pack-priv static final int T_MODIFIERS |
T_NEGATIVELOOKAHEAD | back to summary |
---|---|
pack-priv static final int T_NEGATIVELOOKAHEAD |
T_NEGATIVELOOKBEHIND | back to summary |
---|---|
pack-priv static final int T_NEGATIVELOOKBEHIND |
T_OR | back to summary |
---|---|
pack-priv static final int T_OR |
T_PLUS | back to summary |
---|---|
pack-priv static final int T_PLUS |
T_POSIX_CHARCLASS_START | back to summary |
---|---|
pack-priv static final int T_POSIX_CHARCLASS_START |
T_QUESTION | back to summary |
---|---|
pack-priv static final int T_QUESTION |
T_RPAREN | back to summary |
---|---|
pack-priv static final int T_RPAREN |
T_SET_OPERATIONS | back to summary |
---|---|
pack-priv static final int T_SET_OPERATIONS |
T_STAR | back to summary |
---|---|
pack-priv static final int T_STAR |
T_XMLSCHEMA_CC_SUBTRACTION | back to summary |
---|---|
pack-priv static final int T_XMLSCHEMA_CC_SUBTRACTION |
RegexParser | back to summary |
---|---|
public RegexParser() |
RegexParser | back to summary |
---|---|
public RegexParser(Locale locale) |
addCaseInsensitiveChar | back to summary |
---|---|
protected static final void addCaseInsensitiveChar(RangeToken tok, int c) |
addCaseInsensitiveCharRange | back to summary |
---|---|
protected static final void addCaseInsensitiveCharRange(RangeToken tok, int start, int end) |
checkQuestion | back to summary |
---|---|
pack-priv boolean checkQuestion(int off) |
decodeEscaped | back to summary |
---|---|
pack-priv int decodeEscaped() throws ParseException |
ex | back to summary |
---|---|
pack-priv final ParseException ex(String key, int loc) |
getTokenForShorthand | back to summary |
---|---|
pack-priv Token getTokenForShorthand(int ch) |
hexChar | back to summary |
---|---|
private static final int hexChar(int ch) |
isSet | back to summary |
---|---|
protected final boolean isSet(int flag) |
next | back to summary |
---|---|
pack-priv final void next()
|
parse | back to summary |
---|---|
pack-priv Token parse(String regex, int options) throws ParseException |
parseAtom | back to summary |
---|---|
pack-priv Token parseAtom() throws ParseException atom ::= char | '.' | char-class | '(' regex ')' | '(?:' regex ')' | '\' [0-9] | '\w' | '\W' | '\d' | '\D' | '\s' | '\S' | category-block | '(?>' regex ')' char ::= '\\' | '\' [efnrt] | bmp-code | character-1 |
parseCharacterClass | back to summary |
---|---|
protected RangeToken parseCharacterClass(boolean useNrange) throws ParseException char-class ::= '[' ( '^'? range ','?)+ ']' range ::= '\d' | '\w' | '\s' | category-block | range-char | range-char '-' range-char range-char ::= '\[' | '\]' | '\\' | '\' [,-efnrtv] | bmp-code | character-2 bmp-code ::= '\' 'u' [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] |
parseFactor | back to summary |
---|---|
pack-priv Token parseFactor() throws ParseException factor ::= ('^' | '$' | '\A' | '\Z' | '\z' | '\b' | '\B' | '\<' | '\>' | atom (('*' | '+' | '?' | minmax ) '?'? )?) | '(?=' regex ')' | '(?!' regex ')' | '(?<=' regex ')' | '(?<!' regex ')' | '(?#' [^)]* ')' minmax ::= '{' min (',' max?)? '}' min ::= [0-9]+ max ::= [0-9]+ |
parseRegex | back to summary |
---|---|
pack-priv Token parseRegex() throws ParseException regex ::= term (`|` term)* term ::= factor+ factor ::= ('^' | '$' | '\A' | '\Z' | '\z' | '\b' | '\B' | '\<' | '\>' | atom (('*' | '+' | '?' | minmax ) '?'? )?) | '(?=' regex ')' | '(?!' regex ')' | '(?<=' regex ')' | '(?<!' regex ')' atom ::= char | '.' | range | '(' regex ')' | '(?:' regex ')' | '\' [0-9] | '\w' | '\W' | '\d' | '\D' | '\s' | '\S' | category-block |
parseSetOperations | back to summary |
---|---|
protected RangeToken parseSetOperations() throws ParseException '(?[' ... ']' (('-' | '+' | '&') '[' ... ']')? ')' |
parseTerm | back to summary |
---|---|
pack-priv Token parseTerm() throws ParseException term ::= factor+ |
processBackreference | back to summary |
---|---|
pack-priv Token processBackreference() throws ParseException |
processBacksolidus_A | back to summary |
---|---|
pack-priv Token processBacksolidus_A() throws ParseException |
processBacksolidus_b | back to summary |
---|---|
pack-priv Token processBacksolidus_b() throws ParseException |
processBacksolidus_B | back to summary |
---|---|
pack-priv Token processBacksolidus_B() throws ParseException |
processBacksolidus_c | back to summary |
---|---|
pack-priv Token processBacksolidus_c() throws ParseException |
processBacksolidus_C | back to summary |
---|---|
pack-priv Token processBacksolidus_C() throws ParseException |
processBacksolidus_g | back to summary |
---|---|
pack-priv Token processBacksolidus_g() throws ParseException |
processBacksolidus_gt | back to summary |
---|---|
pack-priv Token processBacksolidus_gt() throws ParseException |
processBacksolidus_i | back to summary |
---|---|
pack-priv Token processBacksolidus_i() throws ParseException |
processBacksolidus_I | back to summary |
---|---|
pack-priv Token processBacksolidus_I() throws ParseException |
processBacksolidus_lt | back to summary |
---|---|
pack-priv Token processBacksolidus_lt() throws ParseException |
processBacksolidus_pP | back to summary |
---|---|
protected RangeToken processBacksolidus_pP(int c) throws ParseException |
processBacksolidus_X | back to summary |
---|---|
pack-priv Token processBacksolidus_X() throws ParseException |
processBacksolidus_Z | back to summary |
---|---|
pack-priv Token processBacksolidus_Z() throws ParseException |
processBacksolidus_z | back to summary |
---|---|
pack-priv Token processBacksolidus_z() throws ParseException |
processCaret | back to summary |
---|---|
pack-priv Token processCaret() throws ParseException |
processCIinCharacterClass | back to summary |
---|---|
pack-priv int processCIinCharacterClass(RangeToken tok, int c) |
processCondition | back to summary |
---|---|
pack-priv Token processCondition() throws ParseException |
processDollar | back to summary |
---|---|
pack-priv Token processDollar() throws ParseException |
processIndependent | back to summary |
---|---|
pack-priv Token processIndependent() throws ParseException |
processLookahead | back to summary |
---|---|
pack-priv Token processLookahead() throws ParseException |
processLookbehind | back to summary |
---|---|
pack-priv Token processLookbehind() throws ParseException |
processModifiers | back to summary |
---|---|
pack-priv Token processModifiers() throws ParseException |
processNegativelookahead | back to summary |
---|---|
pack-priv Token processNegativelookahead() throws ParseException |
processNegativelookbehind | back to summary |
---|---|
pack-priv Token processNegativelookbehind() throws ParseException |
processParen | back to summary |
---|---|
pack-priv Token processParen() throws ParseException |
processParen2 | back to summary |
---|---|
pack-priv Token processParen2() throws ParseException |
processPlus | back to summary |
---|---|
pack-priv Token processPlus(Token tok) throws ParseException |
processQuestion | back to summary |
---|---|
pack-priv Token processQuestion(Token tok) throws ParseException |
processStar | back to summary |
---|---|
pack-priv Token processStar(Token tok) throws ParseException |
read | back to summary |
---|---|
pack-priv final int read() |
setContext | back to summary |
---|---|
protected final void setContext(int con) |
setLocale | back to summary |
---|---|
public void setLocale(Locale locale) |
Access | Constructor and Description |
---|---|
pack-priv |
position | back to summary |
---|---|
pack-priv int position |
refNumber | back to summary |
---|---|
pack-priv int refNumber |
ReferencePosition | back to summary |
---|---|
pack-priv ReferencePosition(int n, int pos) |