|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.wanghy.regex.Perl5Regex
Implementation of
that uses ORO Perl5 regular
expression matcher.
Regex
Field Summary | |
private org.apache.oro.text.regex.Pattern |
pattern
Compiled representation of a regular expression. |
Constructor Summary | |
Perl5Regex(java.lang.String regex)
Constructor. |
Method Summary | |
Match |
match(java.lang.String input)
Attempts to match the entire input sequence against the given regular expression. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final org.apache.oro.text.regex.Pattern pattern
Constructor Detail |
public Perl5Regex(java.lang.String regex)
regex
- the regular expression pattern to compile.
PatternInvalidSyntaxException
- if the regular expression's syntax is invalid.Method Detail |
public Match match(java.lang.String input)
Regex
match
in interface Regex
input
- the input sequence.
Regex.match(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |