[BangPypers] string to list query
Anand Balachandran Pillai
abpillai at gmail.com
Thu Aug 5 10:04:31 CEST 2010
>>> s='AT/CG'
>>> m=re.compile(r'([A-Z]+)([A-Z]/[A-Z])([A-Z]+)', re.IGNORECASE)
>>> m.match(s).groups()
('A', 'T/C', 'G')
--Anand
More information about the BangPypers
mailing list