2 // This software is now distributed according to
3 // the Lesser Gnu Public License. Please see
4 // http://www.gnu.org/copyleft/lesser.txt for
8 package com.stevesoft.pat;
11 Shareware: package pat
12 <a href="copyright.html">Copyright 2001, Steven R. Brandt</a>
15 * This class only exists to store data needed during the compilation of a
21 * The numeric identity of the next () to be encountered while compiling the
24 public int val = Regex.BackRefOffset;
27 * Needed in case (?i) is encountered, to pass back the message that
28 * ignoreCase should be set.
30 public boolean ignoreCase;
33 * Needed in case (?Q) is encountered, to pass back the message that
34 * dontMatchInQuotes should be set.
36 public boolean dontMatchInQuotes;
38 public boolean optimizeMe = false;
40 public boolean noBackRefs = false;
42 public int parenLevel = 0;
44 boolean gFlag = false, mFlag = false, sFlag = false;
52 ignoreCase = r.ignoreCase;
53 dontMatchInQuotes = r.dontMatchInQuotes;
61 r.ignoreCase = ignoreCase;
62 r.dontMatchInQuotes = dontMatchInQuotes;