-package//\r
+package //\r
// This software is now distributed according to\r
// the Lesser Gnu Public License. Please see\r
// http://www.gnu.org/copyleft/lesser.txt for\r
// the details.\r
// -- Happy Computing!\r
//\r
-com.stevesoft.pat;\r
+ com.stevesoft.pat;\r
+\r
import java.util.*;\r
\r
/** The idea behind this class is simply to eliminate the need for\r
- * testing to see if Regex.thePattern is null. Every instruction\r
- * we can eliminate from _search will help.\r
- */\r
-public class NoPattern extends Pattern {\r
- public String toString() { return "(?e=#)[^#d#D]"; }\r
- public int matchInternal(int i,Pthings p) { return -1; }\r
- Pattern clone1(Hashtable h) { return new NoPattern(); }\r
+ * testing to see if Regex.thePattern is null. Every instruction\r
+ * we can eliminate from _search will help.\r
+ */\r
+public class NoPattern\r
+ extends Pattern\r
+{\r
+ public String toString()\r
+ {\r
+ return "(?e=#)[^#d#D]";\r
+ }\r
+\r
+ public int matchInternal(int i, Pthings p)\r
+ {\r
+ return -1;\r
+ }\r
+\r
+ Pattern clone1(Hashtable h)\r
+ {\r
+ return new NoPattern();\r
+ }\r
}\r