java.lang .Object org.apache.tools.ant .ProjectComponent org.apache.tools.ant.taskdefs.condition .Matches addRegexp public void addRegexp(RegularExpression regularExpression)(Code) A regular expression.
You can use this element to refer to a previously
defined regular expression datatype instance
Parameters: regularExpression - the regular expression objectto be configured as an element
eval public boolean eval() throws BuildException (Code) true if the string matches the regular expression patternexception: BuildException - if the attributes are not set correctly
setCasesensitive public void setCasesensitive(boolean b)(Code) Whether to ignore case or not.
Parameters: b - if false, ignore case.since: Ant 1.7
setMultiline public void setMultiline(boolean b)(Code) Whether to match should be multiline.
Parameters: b - the value to set.
setPattern public void setPattern(String pattern)(Code) Set the regular expression to match against
Parameters: pattern - the regular expression pattern
setSingleLine public void setSingleLine(boolean b)(Code) Whether to treat input as singleline ('.' matches newline).
Corresponsds to java.util.regex.Pattern.DOTALL.
Parameters: b - the value to set.
setString public void setString(String string)(Code) Set the string
Parameters: string - the string to match