X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fjsdev%2FRegExp.java;fp=src%2Fjalview%2Fjsdev%2FRegExp.java;h=a36ebd838b83ec532a51ed6f2efcc2fa53b4d3de;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hp=7a14e114f1bcc8ab37771bf79899eab3f86842cb;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44;p=jalviewjs.git diff --git a/src/jalview/jsdev/RegExp.java b/src/jalview/jsdev/RegExp.java index 7a14e11..a36ebd8 100644 --- a/src/jalview/jsdev/RegExp.java +++ b/src/jalview/jsdev/RegExp.java @@ -1,26 +1,26 @@ -package jalview.jsdev; - -import com.stevesoft.pat.Regex; - -import jalview.jsdev.api.RegExpInterface; - -/** - * an intermediary working class allowing options other than com.stevesoft.pat.Regex - * - * @author Bob Hanson - * - */ -public class RegExp { - - RegExpInterface rg; - - public static RegExpInterface newRegex(String... params) { - return new Regex(params.length < 1 ? null : params[0], - params.length < 2 ? "" : params[1]); - } - - public static RegExpInterface perlCode(String s) { - return Regex.perlCode(s); - } - -} +package jalview.jsdev; + +import com.stevesoft.pat.Regex; + +import jalview.jsdev.api.RegExpInterface; + +/** + * an intermediary working class allowing options other than com.stevesoft.pat.Regex + * + * @author Bob Hanson + * + */ +public class RegExp { + + RegExpInterface rg; + + public static RegExpInterface newRegex(String... params) { + return new Regex(params.length < 1 ? null : params[0], + params.length < 2 ? "" : params[1]); + } + + public static RegExpInterface perlCode(String s) { + return Regex.perlCode(s); + } + +}