JAL-3626 Regex optimization from JAL-3253-applet; also minor
[jalview.git] / src / jalview / util / Platform.java
index fea40c3..2fa807a 100644 (file)
@@ -692,6 +692,11 @@ public class Platform
 
   }
 
+  public static Regex newRegex(String regex)
+  {
+    return newRegex(regex, null);
+  }
+
   public static Regex newRegex(String searchString, String replaceString)
   {
     ensureRegex();
@@ -818,6 +823,4 @@ public class Platform
 
   }
 
-  
-
 }