org.apache.tapestry.util
Class RegexpMatch

java.lang.Object
  extended by org.apache.tapestry.util.RegexpMatch

public class RegexpMatch
extends java.lang.Object

A "friendly" version of a regular expression match.

Since:
4.0
Author:
Howard Lewis Ship

Method Summary
 java.lang.String getGroup(int group)
          Returns a matching group within the input string.
 java.lang.String getInput()
          Returns the entire matching input.
 int getMatchLength()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getGroup

public java.lang.String getGroup(int group)
Returns a matching group within the input string. Group 0 is the entire input string, group 1 is the content with the first expression, etc.


getInput

public java.lang.String getInput()
Returns the entire matching input.


getMatchLength

public int getMatchLength()