diff --git a/uk/ac/sanger/artemis/io/GFFStreamFeature.java b/uk/ac/sanger/artemis/io/GFFStreamFeature.java index 6e95f2ee44fad3a8889dc2caeb429c5ad5e70920..92bbac9683e2ab64377129ada6917214636ca3a0 100644 --- a/uk/ac/sanger/artemis/io/GFFStreamFeature.java +++ b/uk/ac/sanger/artemis/io/GFFStreamFeature.java @@ -906,7 +906,7 @@ public class GFFStreamFeature extends SimpleDocumentFeature implements Set<String> set = new HashSet<String>(); if (values != null && values.size() > 0) { for (int value_index = 0; value_index < values.size(); ++value_index) { - String regex = "tritryp_uc[:=]\"?([^\";]+)"; + String regex = "tritryp_uc[:=]\"?([a-zA-Z0-9]+)"; Pattern pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE); Matcher matcher = pattern.matcher(values.elementAt(value_index)); while (matcher.find()) {