org.apache.tools.ant.util.regexp
Class JakartaRegexpRegexp
- Regexp, RegexpMatcher
public class JakartaRegexpRegexp
Regular expression implementation using the Jakarta Regexp package
protected int | getSubsOptions(int options)
|
String | substitute(String input, String argument, int options)- Perform a substitution on the regular expression.
|
JakartaRegexpRegexp
public JakartaRegexpRegexp()
getSubsOptions
protected int getSubsOptions(int options)
substitute
public String substitute(String input,
String argument,
int options)
throws BuildException Perform a substitution on the regular expression.
- substitute in interface Regexp
input - The string to substitute onargument - The string which defines the substitutionoptions - The list of options for the match and replace. See the
MATCH_ and REPLACE_ constants above.
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.