From: jprocter Date: Fri, 27 May 2005 09:32:00 +0000 (+0000) Subject: Addred GapChar string for convenient regex construction X-Git-Tag: Release_2_0~165 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4ef54d42d865e7d3d59e287025ad2c93185ce7f1;p=jalview.git Addred GapChar string for convenient regex construction --- diff --git a/src/jalview/util/Comparison.java b/src/jalview/util/Comparison.java index 3a831d0..0366430 100755 --- a/src/jalview/util/Comparison.java +++ b/src/jalview/util/Comparison.java @@ -91,7 +91,7 @@ public class Comparison { return (float)100*(len-bad)/len; } - + public static String GapChars = " .-"; public static boolean isGap(char c) { return (c != '.' && c != '-' && c != ' ') ? false : true;