needed for applet search
[jalview.git] / src / com / stevesoft / pat / Pthings.java
1 //\r
2 // This software is now distributed according to\r
3 // the Lesser Gnu Public License.  Please see\r
4 // http://www.gnu.org/copyleft/lesser.txt for\r
5 // the details.\r
6 //    -- Happy Computing!\r
7 //\r
8 package com.stevesoft.pat;\r
9 import java.util.*;\r
10 \r
11 /** \r
12 Things that need to be kept track of during a\r
13  match.  Passed along with Pattern.matchInternal. */\r
14 public class Pthings {\r
15     /** The current text we are attempting to match. */\r
16     public StringLike src;\r
17     /** Whether we should ignore the case of letters in\r
18         this match. */\r
19     public boolean ignoreCase;\r
20     public boolean mFlag;\r
21     /** The mask to use when dontMatchInQuotes is set. */\r
22     public BitSet cbits;\r
23     /** Used to keep track of backreferences. */\r
24     //public Hashtable marks;\r
25     public int[] marks;\r
26     public int nMarks;\r
27     /** Used to set the behavior of "."  By default, it\r
28         now fails to match the '\n' character. */\r
29     public boolean dotDoesntMatchCR;\r
30     /** Determine if Skipped strings need to be checked. */\r
31     public boolean no_check;\r
32     int lastPos;\r
33 }\r