org.apache.tools.ant.util.regexp
Class JakartaOroRegexp
- Regexp, RegexpMatcher
public class JakartaOroRegexp
Regular expression implementation using the Jakarta Oro package
protected int | getSubsOptions(int options) - Convert ant regexp substitution option to oro options.
|
String | substitute(String input, String argument, int options) - Perform a substitution on the regular expression.
|
JakartaOroRegexp
public JakartaOroRegexp()
Constructor for JakartaOroRegexp
getSubsOptions
protected int getSubsOptions(int options)
Convert ant regexp substitution option to oro options.
options
- the ant regexp options
- the oro substition 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.
- the result of the operation
BuildException
- on error
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.