| java.lang.Object org.apache.tools.ant.util.regexp.JakartaRegexpMatcher org.apache.tools.ant.util.regexp.JakartaRegexpRegexp
JakartaRegexpRegexp | public class JakartaRegexpRegexp extends JakartaRegexpMatcher implements Regexp(Code) | | Regular expression implementation using the Jakarta Regexp package
|
Method Summary | |
protected int | getSubsOptions(int options) Convert ant regexp substitution option to apache regex 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. |
JakartaRegexpRegexp | public JakartaRegexpRegexp()(Code) | | Constructor for JakartaRegexpRegexp
|
getSubsOptions | protected int getSubsOptions(int options)(Code) | | Convert ant regexp substitution option to apache regex options.
Parameters: options - the ant regexp options the apache regex 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 |
|
|