JAL-3626 Regex optimization from JAL-3253-applet; also minor
[jalview.git] / src / jalview / ext / ensembl / EnsemblGene.java
index 0e3d84b..157b8b9 100644 (file)
@@ -55,7 +55,7 @@ public class EnsemblGene extends EnsemblSeqProxy
    * accepts anything as we will attempt lookup of gene or 
    * transcript id or gene name
    */
-  private static final Regex ACCESSION_REGEX = new Regex(".*");
+  private static final Regex ACCESSION_REGEX = Platform.newRegex(".*");
 
   private static final EnsemblFeatureType[] FEATURES_TO_FETCH = {
       EnsemblFeatureType.gene, EnsemblFeatureType.transcript,