-//
-// 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 method of this ReplaceRule simply appends the text it was
- * initialized with to the StringBufferLike.
- *
- * @see com.stevesoft.pat.ReplaceRule
- */
-public class StringRule extends ReplaceRule
-{
- String s;
-
- public StringRule(String s)
- {
- this.s = s;
- }
-
- public void apply(StringBufferLike sb, RegRes res)
- {
- sb.appendStr(s);
- }
-
- public String toString1()
- {
- return s;
- }
-
- public Object clone1()
- {
- return new StringRule(s);
- }
-}
+//\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 method of this ReplaceRule simply appends the text it was\r
+ * initialized with to the StringBufferLike.\r
+ * \r
+ * @see com.stevesoft.pat.ReplaceRule\r
+ */\r
+public class StringRule extends ReplaceRule\r
+{\r
+ String s;\r
+\r
+ public StringRule(String s)\r
+ {\r
+ this.s = s;\r
+ }\r
+\r
+ public void apply(StringBufferLike sb, RegRes res)\r
+ {\r
+ sb.appendStr(s);\r
+ }\r
+\r
+ public String toString1()\r
+ {\r
+ return s;\r
+ }\r
+\r
+ public Object clone1()\r
+ {\r
+ return new StringRule(s);\r
+ }\r
+}\r