-//
-// This software is now distributed according to
-// the Lesser Gnu Public License. Please see
-// http://www.gnu.org/copyleft/lesser.txt for
-// the details.
-// -- Happy Computing!
-//
-package com.stevesoft.pat;
-
-/**
- * The apply(StringBufferLike sb,RegRes res) method of this derivation of
- * ReplaceRule appends the contents of res.right() to the StringBufferLike sb.
- *
- * @see com.stevesoft.pat.ReplaceRule
- */
-public class RightRule extends ReplaceRule
-{
- public RightRule()
- {
- }
-
- public void apply(StringBufferLike sb, RegRes res)
- {
- sb.appendStr(res.right());
- }
-
- public String toString1()
- {
- return "$'";
- }
-}
+//\r
+// This software is now distributed according to\r
+// the Lesser Gnu Public License. Please see\r
+// http://www.gnu.org/copyleft/lesser.txt for\r
+// the details.\r
+// -- Happy Computing!\r
+//\r
+package com.stevesoft.pat;\r
+\r
+/**\r
+ * The apply(StringBufferLike sb,RegRes res) method of this derivation of\r
+ * ReplaceRule appends the contents of res.right() to the StringBufferLike sb.\r
+ * \r
+ * @see com.stevesoft.pat.ReplaceRule\r
+ */\r
+public class RightRule extends ReplaceRule\r
+{\r
+ public RightRule()\r
+ {\r
+ }\r
+\r
+ public void apply(StringBufferLike sb, RegRes res)\r
+ {\r
+ sb.appendStr(res.right());\r
+ }\r
+\r
+ public String toString1()\r
+ {\r
+ return "$'";\r
+ }\r
+}\r