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
6 // -- Happy Computing!
\r
12 /** The idea behind this class is simply to eliminate the need for
\r
13 * testing to see if Regex.thePattern is null. Every instruction
\r
14 * we can eliminate from _search will help.
\r
16 public class NoPattern
\r
19 public String toString()
\r
21 return "(?e=#)[^#d#D]";
\r
24 public int matchInternal(int i, Pthings p)
\r
29 Pattern clone1(Hashtable h)
\r
31 return new NoPattern();
\r