Available implementations: org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp (default) Based on the JDK's built-in regular expression package org.apache.tools.ant.util.regexp.JakartaOroRegexp Based on the jakarta-oro package org.apache.tools.ant.util.regexp.JakartaRegexpRegexp Based on the jakarta-regexp package
<regexp [ [id="id"] pattern="expression" | refid="id" ] />
org.apache.oro.text.regex.Perl5Compiler
, org.apache.regexp.RE
, java.util.regex.Pattern
, org.apache.tools.ant.util.regexp.Regexp
Modifier and Type | Field and Description |
---|---|
private boolean | |
public static final String | DATA_TYPE_NAME
Name of this data type |
private static final RegexpFactory | |
private String | |
private Regexp | |
private boolean |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public String | Returns: patternproject p)Gets the pattern string for this RegularExpression in the given project. |
public RegularExpression | |
public Regexp | |
private void | |
private void | |
public void |
alreadyInit | back to summary |
---|---|
private boolean alreadyInit |
DATA_TYPE_NAME | back to summary |
---|---|
public static final String DATA_TYPE_NAME Name of this data type |
FACTORY | back to summary |
---|---|
private static final RegexpFactory FACTORY |
myPattern | back to summary |
---|---|
private String myPattern |
regexp | back to summary |
---|---|
private Regexp regexp |
setPatternPending | back to summary |
---|---|
private boolean setPatternPending |
RegularExpression | back to summary |
---|---|
public RegularExpression() |
getPattern | back to summary |
---|---|
public String getPattern(Project p) Gets the pattern string for this RegularExpression in the given project. |
getRef | back to summary |
---|---|
public RegularExpression getRef(Project p) Get the RegularExpression this reference refers to in the given project. Check for circular references too
|
getRegexp | back to summary |
---|---|
public Regexp getRegexp(Project p) provides a reference to the Regexp contained in this |
init | back to summary |
---|---|
private void init(Project p) |
setPattern | back to summary |
---|---|
private void setPattern() |
setPattern | back to summary |
---|---|
public void setPattern(String pattern) sets the regular expression pattern
|