-//\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
-package com.stevesoft.pat;\r
-import java.util.Hashtable;\r
-\r
-/** This pattern matches nothing -- it is found in patterns\r
- * like (hello|world|) where a zero-length subelement occurs.\r
- */\r
-class NullPattern extends Pattern {\r
- public String toString() { return nextString(); }\r
- public int matchInternal(int p,Pthings pt) {\r
- return nextMatch(p,pt);\r
- }\r
- public patInt maxChars() { return new patInt(0); }\r
- Pattern clone1(Hashtable h) { return new NullPattern(); }\r
-}\r
+//
+// This software is now distributed according to
+// the Lesser Gnu Public License. Please see
+// http://www.gnu.org/copyleft/lesser.txt for
+// the details.
+// -- Happy Computing!
+//
+package com.stevesoft.pat;
+
+import java.util.Hashtable;
+
+/**
+ * This pattern matches nothing -- it is found in patterns like (hello|world|)
+ * where a zero-length subelement occurs.
+ */
+class NullPattern extends Pattern
+{
+ public String toString()
+ {
+ return nextString();
+ }
+
+ public int matchInternal(int p, Pthings pt)
+ {
+ return nextMatch(p, pt);
+ }
+
+ public patInt maxChars()
+ {
+ return new patInt(0);
+ }
+
+ Pattern clone1(Hashtable h)
+ {
+ return new NullPattern();
+ }
+}