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.


Inner Class Summary
static class RegularExpression.Match
           
static class RegularExpression.PatternException
           
 
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.
 
Method Summary
 RegularExpression.Match lastMatch(java.lang.String string)
           
 RegularExpression.Match lastMatch(java.lang.String string, int end)
           
 RegularExpression.Match lastMatch(java.lang.String string, int start, int end)
           
 RegularExpression.Match match(java.lang.String string)
           
 RegularExpression.Match match(java.lang.String string, int start)
           
 RegularExpression.Match match(java.lang.String string, int start, int end)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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)