needed for applet search
[jalview.git] / src / com / stevesoft / pat / Pthings.java
diff --git a/src/com/stevesoft/pat/Pthings.java b/src/com/stevesoft/pat/Pthings.java
new file mode 100755 (executable)
index 0000000..0a465ce
--- /dev/null
@@ -0,0 +1,33 @@
+//\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
+import java.util.*;\r
+\r
+/** \r
+Things that need to be kept track of during a\r
+ match.  Passed along with Pattern.matchInternal. */\r
+public class Pthings {\r
+    /** The current text we are attempting to match. */\r
+    public StringLike src;\r
+    /** Whether we should ignore the case of letters in\r
+        this match. */\r
+    public boolean ignoreCase;\r
+    public boolean mFlag;\r
+    /** The mask to use when dontMatchInQuotes is set. */\r
+    public BitSet cbits;\r
+    /** Used to keep track of backreferences. */\r
+    //public Hashtable marks;\r
+    public int[] marks;\r
+    public int nMarks;\r
+    /** Used to set the behavior of "."  By default, it\r
+        now fails to match the '\n' character. */\r
+    public boolean dotDoesntMatchCR;\r
+    /** Determine if Skipped strings need to be checked. */\r
+    public boolean no_check;\r
+    int lastPos;\r
+}\r