[Tutor] regular expressions
Alan Gauld
alan.gauld at freenet.co.uk
Wed Dec 7 19:50:45 CET 2005
> a scientist suggested me to try biopython. This point
> is not just with genbank sequences. what will i do if
> i have to parse a paragraph for some expression.
One thing to watch is that re.match() only checks if the pattern
is at the beginning of the line. You should maybe consider using
re.search()?
But I haven't looked in detail so that nay be way off beam...
Alan G.
More information about the Tutor
mailing list