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