|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jostraca.util.GnuRegExpMatch
GNU regular expression match.
| Constructor Summary | |
GnuRegExpMatch()
|
|
GnuRegExpMatch(org.jostraca.comp.gnu.regexp.REMatch pREMatch)
Create. |
|
| Method Summary | |
boolean |
hasMatch()
|
java.lang.String |
match()
find match |
java.lang.String |
matchFirstSub()
get first submatch |
java.lang.String |
matchSecondSub()
get second submatch |
java.lang.String |
matchSub(int pOrdinal)
get nth submatch, where n = 1,2,3,... |
java.lang.String |
matchThirdSub()
get third submatch |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GnuRegExpMatch(org.jostraca.comp.gnu.regexp.REMatch pREMatch)
public GnuRegExpMatch()
| Method Detail |
public boolean hasMatch()
hasMatch in interface RegExpMatchpublic java.lang.String match()
match in interface RegExpMatchpublic java.lang.String matchFirstSub()
matchFirstSub in interface RegExpMatchpublic java.lang.String matchSecondSub()
matchSecondSub in interface RegExpMatchpublic java.lang.String matchThirdSub()
matchThirdSub in interface RegExpMatchpublic java.lang.String matchSub(int pOrdinal)
matchSub in interface RegExpMatch
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||