public class JakartaRegexpRegexp extends JakartaRegexpMatcher implements Regexp
REPLACE_ALL, REPLACE_FIRSTMATCH_CASE_INSENSITIVE, MATCH_DEFAULT, MATCH_MULTILINE, MATCH_SINGLELINE| Constructor and Description | 
|---|
| JakartaRegexpRegexp()Constructor for JakartaRegexpRegexp | 
| Modifier and Type | Method and Description | 
|---|---|
| protected int | getSubsOptions(int options)Convert ant regexp substitution option to apache regex options. | 
| java.lang.String | substitute(java.lang.String input,
          java.lang.String argument,
          int options)Perform a substitution on the regular expression. | 
getCompiledPattern, getCompilerOptions, getGroups, getGroups, getPattern, matches, matches, setPatternclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGroups, getGroups, getPattern, matches, matches, setPatternpublic JakartaRegexpRegexp()
protected int getSubsOptions(int options)
options - the ant regexp optionspublic java.lang.String substitute(java.lang.String input,
                          java.lang.String argument,
                          int options)
                            throws BuildException
substitute in interface Regexpinput - The string to substitute onargument - The string which defines the substitutionoptions - The list of options for the match and replace.BuildException - on error