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
11 /** The idea behind this class is simply to eliminate the need for
\r
12 * testing to see if Regex.thePattern is null. Every instruction
\r
13 * we can eliminate from _search will help.
\r
15 public class NoPattern extends Pattern {
\r
16 public String toString() { return "(?e=#)[^#d#D]"; }
\r
17 public int matchInternal(int i,Pthings p) { return -1; }
\r
18 Pattern clone1(Hashtable h) { return new NoPattern(); }
\r