Modifier and Type | Field and Description |
---|---|
public static final int | REPLACE_ALL
Replace all occurrences of the regular expression |
public static final int | REPLACE_FIRST
Replace only the first occurrence of the regular expression |
Modifier and Type | Method and Description |
---|---|
public String | Returns: the result of the operationThe string to substitute on input, String The string which defines the substitution argument, int The list of options for the match and replace. See the
MATCH_ and REPLACE_ constants above. options)Perform a substitution on the regular expression. |
REPLACE_ALL | back to summary |
---|---|
public static final int REPLACE_ALL Replace all occurrences of the regular expression |
REPLACE_FIRST | back to summary |
---|---|
public static final int REPLACE_FIRST Replace only the first occurrence of the regular expression |
substitute | back to summary |
---|---|
public String substitute(String input, String argument, int options) throws BuildException Perform a substitution on the regular expression.
|