JAL-1807 still testing
[jalviewjs.git] / unused / com / stevesoft / pat / Rthings.java
index 58afe8e..23497e1 100644 (file)
@@ -1,68 +1,68 @@
-//
-// 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;
-
-/**
- Shareware: package pat
- <a href="copyright.html">Copyright 2001, Steven R. Brandt</a>
- */
-/**
- * This class only exists to store data needed during the compilation of a
- * regular expression.
- */
-public class Rthings
-{
-  /**
-   * The numeric identity of the next () to be encountered while compiling the
-   * pattern.
-   */
-  public int val = Regex.BackRefOffset;
-
-  /**
-   * Needed in case (?i) is encountered, to pass back the message that
-   * ignoreCase should be set.
-   */
-  public boolean ignoreCase;
-
-  /**
-   * Needed in case (?Q) is encountered, to pass back the message that
-   * dontMatchInQuotes should be set.
-   */
-  public boolean dontMatchInQuotes;
-
-  public boolean optimizeMe = false;
-
-  public boolean noBackRefs = false;
-
-  public int parenLevel = 0;
-
-  boolean gFlag = false, mFlag = false, sFlag = false;
-
-  Pattern p;
-
-  Or o;
-
-  Rthings(Regex r)
-  {
-    ignoreCase = r.ignoreCase;
-    dontMatchInQuotes = r.dontMatchInQuotes;
-  }
-
-  void set(Regex r)
-  {
-    r.gFlag = gFlag;
-    r.mFlag = mFlag;
-    r.sFlag = sFlag;
-    r.ignoreCase = ignoreCase;
-    r.dontMatchInQuotes = dontMatchInQuotes;
-    if (optimizeMe)
-    {
-      r.optimize();
-    }
-  }
-};
+//\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
+ Shareware: package pat\r
+ <a href="copyright.html">Copyright 2001, Steven R. Brandt</a>\r
+ */\r
+/**\r
+ * This class only exists to store data needed during the compilation of a\r
+ * regular expression.\r
+ */\r
+public class Rthings\r
+{\r
+  /**\r
+   * The numeric identity of the next () to be encountered while compiling the\r
+   * pattern.\r
+   */\r
+  public int val = Regex.BackRefOffset;\r
+\r
+  /**\r
+   * Needed in case (?i) is encountered, to pass back the message that\r
+   * ignoreCase should be set.\r
+   */\r
+  public boolean ignoreCase;\r
+\r
+  /**\r
+   * Needed in case (?Q) is encountered, to pass back the message that\r
+   * dontMatchInQuotes should be set.\r
+   */\r
+  public boolean dontMatchInQuotes;\r
+\r
+  public boolean optimizeMe = false;\r
+\r
+  public boolean noBackRefs = false;\r
+\r
+  public int parenLevel = 0;\r
+\r
+  boolean gFlag = false, mFlag = false, sFlag = false;\r
+\r
+  Pattern p;\r
+\r
+  Or o;\r
+\r
+  Rthings(Regex r)\r
+  {\r
+    ignoreCase = r.ignoreCase;\r
+    dontMatchInQuotes = r.dontMatchInQuotes;\r
+  }\r
+\r
+  void set(Regex r)\r
+  {\r
+    r.gFlag = gFlag;\r
+    r.mFlag = mFlag;\r
+    r.sFlag = sFlag;\r
+    r.ignoreCase = ignoreCase;\r
+    r.dontMatchInQuotes = dontMatchInQuotes;\r
+    if (optimizeMe)\r
+    {\r
+      r.optimize();\r
+    }\r
+  }\r
+};\r