[New-bugs-announce] [issue22817] re.split fails with lookahead/behind

Rex Dwyer report at bugs.python.org
Fri Nov 7 22:42:01 CET 2014


New submission from Rex Dwyer:

I would like to split a DNA sequence with a restriction enzyme.
A description enzyme can be describe as, e.g.  r'(?<CA)(?=GCTG)'
I cannot get re.split to split on this pattern as perl 5 does.

----------
components: Regular Expressions
messages: 230831
nosy: ezio.melotti, mrabarnett, rexdwyer
priority: normal
severity: normal
status: open
title: re.split fails with lookahead/behind
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22817>
_______________________________________


More information about the New-bugs-announce mailing list