public class BackRefRule extends ReplaceRule
next| Constructor and Description |
|---|
BackRefRule(int n) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(StringBufferLike sb,
RegRes res)
This function appends to the StringBufferLike the text you want
to replaced the portion of the String last matched.
|
Object |
clone1()
A rule describing how to clone only the current ReplaceRule,
and none of the others in this linked list.
|
String |
toString1()
This tells how to convert just the current element (and none
of the other items in the linked list) to a String.
|
public void apply(StringBufferLike sb, RegRes res)
ReplaceRuleapply in class ReplaceRulepublic String toString1()
ReplaceRuletoString1 in class ReplaceRulepublic Object clone1()
ReplaceRuleclone1 in class ReplaceRule