JAL-2509 extend set of brackets recognised by stockholm parser
authorJim Procter <jprocter@issues.jalview.org>
Tue, 9 May 2017 16:58:27 +0000 (17:58 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 9 May 2017 16:58:27 +0000 (17:58 +0100)
src/jalview/io/StockholmFile.java

index c2726a7..8527f8b 100644 (file)
@@ -78,8 +78,8 @@ public class StockholmFile extends AlignFile
 
   private static final Regex CLOSE_PAREN = new Regex("(>|\\])", ")");
 
-  private static final Regex DETECT_BRACKETS = new Regex(
-          "(<|>|\\[|\\]|\\(|\\))");
+  public static final Regex DETECT_BRACKETS = new Regex(
+          "(<|>|\\[|\\]|\\(|\\)|\\{|\\})");
 
   StringBuffer out; // output buffer