3 import com.stevesoft.pat.Regex;
5 import jalview.jsdev.api.RegExpInterface;
8 * an intermediary working class allowing options other than com.stevesoft.pat.Regex
17 public static RegExpInterface newRegex(String... params) {
18 return new Regex(params.length < 1 ? null : params[0],
19 params.length < 2 ? "" : params[1]);
22 public static RegExpInterface perlCode(String s) {
23 return Regex.perlCode(s);