-//
-// 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;
-
-import java.util.*;
-
-/** This class represents the \G pattern element. */
-class BackG extends Pattern
-{
- char c, altc, altc2;
-
- int mask;
-
- public BackG()
- {
- }
-
- public int matchInternal(int pos, Pthings pt)
- {
- return pos == pt.lastPos ? nextMatch(pos, pt) : -1;
- }
-
- public String toString()
- {
- return "\\G" + nextString();
- }
-
- public patInt minChars()
- {
- return new patInt(1);
- }
-
- public patInt maxChars()
- {
- return new patInt(1);
- }
-
- Pattern clone1(Hashtable h)
- {
- return new BackG();
- }
-}
+//\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
+import java.util.*;\r
+\r
+/** This class represents the \G pattern element. */\r
+class BackG extends Pattern\r
+{\r
+ char c, altc, altc2;\r
+\r
+ int mask;\r
+\r
+ public BackG()\r
+ {\r
+ }\r
+\r
+ public int matchInternal(int pos, Pthings pt)\r
+ {\r
+ return pos == pt.lastPos ? nextMatch(pos, pt) : -1;\r
+ }\r
+\r
+ public String toString()\r
+ {\r
+ return "\\G" + nextString();\r
+ }\r
+\r
+ public patInt minChars()\r
+ {\r
+ return new patInt(1);\r
+ }\r
+\r
+ public patInt maxChars()\r
+ {\r
+ return new patInt(1);\r
+ }\r
+\r
+ Pattern clone1(Hashtable h)\r
+ {\r
+ return new BackG();\r
+ }\r
+}\r