2 // This software is now distributed according to
\r
3 // the Lesser Gnu Public License. Please see
\r
4 // http://www.gnu.org/copyleft/lesser.txt for
\r
6 // -- Happy Computing!
\r
8 package com.stevesoft.pat;
\r
11 * The apply(StringBufferLike sb,RegRes res) method of this derivation of
\r
12 * ReplaceRule appends the contents of res.right() to the StringBufferLike sb.
\r
14 * @see com.stevesoft.pat.ReplaceRule
\r
16 public class RightRule extends ReplaceRule
\r
22 public void apply(StringBufferLike sb, RegRes res)
\r
24 sb.appendStr(res.right());
\r
27 public String toString1()
\r