| java.lang.Object jregex.Pattern jregex.WildcardPattern
WildcardPattern | public class WildcardPattern extends Pattern (Code) | | A Pattern subclass that accepts a simplified pattern syntax:
? - matches any single character;
* - matches any number of any characters;
all the rest - matches itself.
Each wildcard takes a capturing group withing a pattern.
See Also: Pattern |
WildcardPattern | public WildcardPattern(String wc)(Code) | | Parameters: wc - The pattern |
WildcardPattern | public WildcardPattern(String wc, boolean icase)(Code) | | Parameters: wc - The pattern Parameters: icase - If true, the pattern is case-insensitive. |
WildcardPattern | public WildcardPattern(String wc, int flags)(Code) | | Parameters: wc - The pattern Parameters: flags - The bitwise OR of any of REFlags.* . The only meaningfulflags are REFlags.IGNORE_CASE and REFlags.DOTALL (the latter allows the wildcards to match the EOL characters). |
WildcardPattern | public WildcardPattern(String wc, String wcClass, int flags)(Code) | | Parameters: wc - The pattern Parameters: wcClass - The wildcard class, could be any of WORD_CHAR or ANY_CHAR Parameters: flags - The bitwise OR of any of REFlags.* . The only meaningfulflags are REFlags.IGNORE_CASE and REFlags.DOTALL (the latter allows the wildcards to match the EOL characters). |
WildcardPattern | protected WildcardPattern()(Code) | | |
Methods inherited from jregex.Pattern | protected void compile(String regex, int flags) throws PatternSyntaxException(Code)(Java Doc) public int groupCount()(Code)(Java Doc) public Integer groupId(String name)(Code)(Java Doc) public Matcher matcher()(Code)(Java Doc) public Matcher matcher(String s)(Code)(Java Doc) public Matcher matcher(char[] data, int start, int end)(Code)(Java Doc) public Matcher matcher(MatchResult res, int groupId)(Code)(Java Doc) public Matcher matcher(MatchResult res, String groupName)(Code)(Java Doc) public Matcher matcher(Reader text, int length) throws IOException(Code)(Java Doc) public boolean matches(String s)(Code)(Java Doc) static int parseFlags(String flags) throws PatternSyntaxException(Code)(Java Doc) static int parseFlags(char[] data, int start, int len) throws PatternSyntaxException(Code)(Java Doc) public Replacer replacer(String expr)(Code)(Java Doc) public Replacer replacer(Substitution model)(Code)(Java Doc) public boolean startsWith(String s)(Code)(Java Doc) public String toString()(Code)(Java Doc) public String toString_d()(Code)(Java Doc) public RETokenizer tokenizer(String text)(Code)(Java Doc) public RETokenizer tokenizer(char[] data, int off, int len)(Code)(Java Doc) public RETokenizer tokenizer(Reader in, int length) throws IOException(Code)(Java Doc)
|
|
|