1 Clazz.declarePackage ("jalview.jsdev");
\r
2 Clazz.load (null, "jalview.jsdev.RegExp", ["com.stevesoft.pat.Regex"], function () {
\r
3 c$ = Clazz.decorateAsClass (function () {
\r
5 Clazz.instantialize (this, arguments);
\r
6 }, jalview.jsdev, "RegExp");
\r
7 c$.newRegex = Clazz.defineMethod (c$, "newRegex",
\r
9 return new com.stevesoft.pat.Regex (params.length < 1 ? null : params[0], params.length < 2 ? "" : params[1]);
\r
11 c$.perlCode = Clazz.defineMethod (c$, "perlCode",
\r
13 return com.stevesoft.pat.Regex.perlCode (s);
\r