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