Hi all,

I'm working on a GenBank parser and I need some help with regular
expressions. I'm using this one:
    private static final Pattern patFeatureKey =
Pattern.compile("^\\s{5}([A-Za-z\\_]+)\\s+");
but it doesn't work when parsing a line like the following:

5'UTR 1..3000
3'UTR 3..450

How should I modify the pattern to include '?

Thanks so much in advance!!!

Cheers,
   David
_______________________________________________
Jalview-dev mailing list
[email protected]
http://www.compbio.dundee.ac.uk/mailman/listinfo/jalview-dev

Reply via email to