org.apache.tapestry.util
Class RegexpMatch

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

public class RegexpMatch
extends Object

A "friendly" version of a regular expression match.


Method Summary
 String getGroup(int group)
          Returns a matching group within the input string.
 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 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 String getInput()
Returns the entire matching input.


getMatchLength

public int getMatchLength()


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.