org.apache.tools.ant.util.regexp
public class JakartaOroRegexp extends JakartaOroMatcher implements Regexp
Constructor Summary | |
---|---|
JakartaOroRegexp() Constructor for JakartaOroRegexp |
Method Summary | |
---|---|
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. |
Parameters: options the ant regexp options
Returns: the oro substition options
Parameters: input The string to substitute on argument The string which defines the substitution options The list of options for the match and replace.
Returns: the result of the operation
Throws: BuildException on error