|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--ponderToolkit.editor.search.RESearchMatcher
A regular expression string matcher.
| Constructor Summary | |
RESearchMatcher(java.lang.String search,
java.lang.String replace,
boolean ignoreCase)
Creates a new regular expression string matcher. |
|
| Method Summary | |
int[] |
nextMatch(java.lang.String text)
Returns the offset of the first match of the specified text within this matcher. |
java.lang.String |
substitute(java.lang.String text)
Returns the specified text, with any substitution specified within this matcher performed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RESearchMatcher(java.lang.String search,
java.lang.String replace,
boolean ignoreCase)
search - The search stringreplace - The replacement stringignoreCase - True if the matcher should be case insensitive,
false otherwise| Method Detail |
public int[] nextMatch(java.lang.String text)
nextMatch in interface SearchMatchertext - The text to search inpublic java.lang.String substitute(java.lang.String text)
substitute in interface SearchMatchertext - The text
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||