| java.lang.Object org.apache.tools.ant.util.regexp.Jdk14RegexpMatcher org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp
Jdk14RegexpRegexp | public class Jdk14RegexpRegexp extends Jdk14RegexpMatcher implements Regexp(Code) | | Regular expression implementation using the JDK 1.4 regular expression package
|
Method Summary | |
protected int | getSubsOptions(int options) Convert ant regexp substitution option to jdk1.4 options. | public String | substitute(String input, String argument, int options) Perform a substitution on the regular expression.
Parameters: input - The string to substitute on Parameters: argument - The string which defines the substitution Parameters: options - The list of options for the match and replace. |
Jdk14RegexpRegexp | public Jdk14RegexpRegexp()(Code) | | Constructor for Jdk14RegexpRegexp
|
getSubsOptions | protected int getSubsOptions(int options)(Code) | | Convert ant regexp substitution option to jdk1.4 options.
Parameters: options - the ant regexp options the jdk14 substition options |
substitute | public String substitute(String input, String argument, int options) throws BuildException(Code) | | Perform a substitution on the regular expression.
Parameters: input - The string to substitute on Parameters: argument - The string which defines the substitution Parameters: options - The list of options for the match and replace. the result of the operation throws: BuildException - on error |
|
|