1 Clazz.declarePackage ("com.stevesoft.pat");
2 Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.Any", ["com.stevesoft.pat.patInt"], function () {
3 c$ = Clazz.declareType (com.stevesoft.pat, "Any", com.stevesoft.pat.Pattern);
4 Clazz.overrideMethod (c$, "matchInternal",
6 if (pos < pt.src.length ()) {
7 if (pt.dotDoesntMatchCR) {
8 if (pt.src.charAt (pos) != '\n') {
9 return this.nextMatch (pos + 1, pt);
11 return this.nextMatch (pos + 1, pt);
13 }, "~N,com.stevesoft.pat.Pthings");
14 Clazz.overrideMethod (c$, "toString",
16 return "." + this.nextString ();
18 Clazz.overrideMethod (c$, "minChars",
20 return new com.stevesoft.pat.patInt (1);
22 Clazz.overrideMethod (c$, "maxChars",
24 return new com.stevesoft.pat.patInt (1);
26 Clazz.overrideMethod (c$, "clone1",
28 return new com.stevesoft.pat.Any ();
29 }, "java.util.Hashtable");