| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Pattern | Returns: the compiled patternthe options options)Get a compiled representation of the regexp pattern |
| protected int | Returns: the specific optionsthe generic options options)Convert the generic options to the regex compiler specific options. |
| public Vector | Returns: the vector of groupsthe string to match against argument)Implements org. |
| public Vector | Returns: the vector of groupsthe string to match against input, int the regex options to use options)Implements org. |
| public String | Returns: the patternImplements org. |
| public boolean | Returns: true if the pattern matchesthe string to match against argument)Implements org. |
| public boolean | Returns: true if the pattern matchesthe string to match against input, int the regex options to use options)Implements org. |
| public void | setPattern(String
the pattern to match pattern)Implements org. |
| pattern | back to summary |
|---|---|
| private String pattern | |
| Jdk14RegexpMatcher | back to summary |
|---|---|
| public Jdk14RegexpMatcher() | |
| getCompiledPattern | back to summary |
|---|---|
| protected Pattern getCompiledPattern(int options) throws BuildException Get a compiled representation of the regexp pattern
| |
| getCompilerOptions | back to summary |
|---|---|
| protected int getCompilerOptions(int options) Convert the generic options to the regex compiler specific options.
| |
| getGroups | back to summary |
|---|---|
| public Vector Implements org. Returns a Vector of matched groups found in the argument using default options. Group 0 will be the full match, the rest are the parenthesized subexpressions .
| |
| getGroups | back to summary |
|---|---|
| public Vector Implements org. Returns a Vector of matched groups found in the argument. Group 0 will be the full match, the rest are the parenthesized subexpressions .
| |
| getPattern | back to summary |
|---|---|
| public String getPattern() Implements org. Get a String representation of the regexp pattern
| |
| matches | back to summary |
|---|---|
| public boolean matches(String argument) throws BuildException Implements org. Does the given argument match the pattern using default options?
| |
| matches | back to summary |
|---|---|
| public boolean matches(String input, int options) throws BuildException Implements org. Does the given argument match the pattern?
| |
| setPattern | back to summary |
|---|---|
| public void setPattern(String pattern) Implements org. Set the regexp pattern from the String description. | |