Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / com / stevesoft / pat / Group.js
index a9ebd1b..89fdd10 100644 (file)
@@ -1,48 +1,48 @@
-Clazz.declarePackage ("com.stevesoft.pat");\r
-Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.Group", ["com.stevesoft.pat.patInt"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.op = '\0';\r
-this.cl = '\0';\r
-Clazz.instantialize (this, arguments);\r
-}, com.stevesoft.pat, "Group", com.stevesoft.pat.Pattern);\r
-Clazz.makeConstructor (c$, \r
-function (opi, cli) {\r
-Clazz.superConstructor (this, com.stevesoft.pat.Group, []);\r
-this.op = opi;\r
-this.cl = cli;\r
-}, "~S,~S");\r
-Clazz.overrideMethod (c$, "matchInternal", \r
-function (pos, pt) {\r
-var i;\r
-var count = 1;\r
-if (pos < pt.src.length ()) {\r
-if (!this.Masked (pos, pt) && pt.src.charAt (pos) != this.op) {\r
-return -1;\r
-}}for (i = pos + 1; i < pt.src.length (); i++) {\r
-var c = pt.src.charAt (i);\r
-var b = !this.Masked (i, pt);\r
-if (b && c == '\\') {\r
-i++;\r
-} else {\r
-if (b && c == this.cl) {\r
-count--;\r
-}if (count == 0) {\r
-return this.nextMatch (i + 1, pt);\r
-}if (b && c == this.op) {\r
-count++;\r
-}}}\r
-return -1;\r
-}, "~N,com.stevesoft.pat.Pthings");\r
-Clazz.overrideMethod (c$, "toString", \r
-function () {\r
-return "(?@" + this.op + this.cl + ")" + this.nextString ();\r
-});\r
-Clazz.overrideMethod (c$, "minChars", \r
-function () {\r
-return  new com.stevesoft.pat.patInt (2);\r
-});\r
-Clazz.overrideMethod (c$, "clone1", \r
-function (h) {\r
-return  new com.stevesoft.pat.Group (this.op, this.cl);\r
-}, "java.util.Hashtable");\r
-});\r
+Clazz.declarePackage ("com.stevesoft.pat");
+Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.Group", ["com.stevesoft.pat.patInt"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.op = '\0';
+this.cl = '\0';
+Clazz.instantialize (this, arguments);
+}, com.stevesoft.pat, "Group", com.stevesoft.pat.Pattern);
+Clazz.makeConstructor (c$, 
+function (opi, cli) {
+Clazz.superConstructor (this, com.stevesoft.pat.Group, []);
+this.op = opi;
+this.cl = cli;
+}, "~S,~S");
+Clazz.overrideMethod (c$, "matchInternal", 
+function (pos, pt) {
+var i;
+var count = 1;
+if (pos < pt.src.length ()) {
+if (!this.Masked (pos, pt) && pt.src.charAt (pos) != this.op) {
+return -1;
+}}for (i = pos + 1; i < pt.src.length (); i++) {
+var c = pt.src.charAt (i);
+var b = !this.Masked (i, pt);
+if (b && c == '\\') {
+i++;
+} else {
+if (b && c == this.cl) {
+count--;
+}if (count == 0) {
+return this.nextMatch (i + 1, pt);
+}if (b && c == this.op) {
+count++;
+}}}
+return -1;
+}, "~N,com.stevesoft.pat.Pthings");
+Clazz.overrideMethod (c$, "toString", 
+function () {
+return "(?@" + this.op + this.cl + ")" + this.nextString ();
+});
+Clazz.overrideMethod (c$, "minChars", 
+function () {
+return  new com.stevesoft.pat.patInt (2);
+});
+Clazz.overrideMethod (c$, "clone1", 
+function (h) {
+return  new com.stevesoft.pat.Group (this.op, this.cl);
+}, "java.util.Hashtable");
+});