com.ibm.lpex.util
Class RegularExpression
java.lang.Object
|
+--com.ibm.lpex.util.RegularExpression
- public class RegularExpression
- extends java.lang.Object
The class RegularExpression can be used to perform a regular expression search.
Constructor Summary |
RegularExpression(java.lang.String pattern,
boolean ignoreCase)
This constructor accepts a regular expression pattern which will be
used to perform a regular expression search. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegularExpression
public RegularExpression(java.lang.String pattern,
boolean ignoreCase)
throws RegularExpression.PatternException
- This constructor accepts a regular expression pattern which will be
used to perform a regular expression search.
match
public RegularExpression.Match match(java.lang.String string,
int start,
int end)
match
public RegularExpression.Match match(java.lang.String string,
int start)
match
public RegularExpression.Match match(java.lang.String string)
lastMatch
public RegularExpression.Match lastMatch(java.lang.String string,
int start,
int end)
lastMatch
public RegularExpression.Match lastMatch(java.lang.String string,
int end)
lastMatch
public RegularExpression.Match lastMatch(java.lang.String string)