[Biojava-l] Regular expressions
smh1008 at cus.cam.ac.uk
Thu Jul 15 13:15:58 EDT 2004
On Thursday 15 Jul 2004 18:03, Nicholas Lee Stiffler wrote:
> I am using the regex class in biojava 1.4pre, and I want use it to search
> only for sequences that start with a certain motif. For example, I tried
> using the regex ^gty but it threw
> org.biojava.utils.regex.RegexException: unexpected symbol ^
> Is this a bug or do I need to input it differently?
That looks like a bug in the PatternChecker - it checks the input pattern is
acceptable and also expands some ambiguity symbols etc. It seems to be too
fussy on this symbol. I'll patch it.
More information about the Biojava-l