org.apache.tools.ant.filters
public static class TokenFilter.ContainsRegex extends TokenFilter.ChainableReaderFilter
Method Summary | |
---|---|
String | filter(String string)
apply regex and substitution on a string |
void | setFlags(String flags) |
void | setPattern(String from) |
void | setReplace(String to) |
Parameters: string the string to apply filter on
Returns: the filtered string
Parameters: flags the regex flags
Parameters: from the regex pattern
Parameters: to the replacement string