This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rexdwyer
Recipients ezio.melotti, mrabarnett, rexdwyer, serhiy.storchaka
Date 2014-11-07.22:08:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415398087.21.0.102116868296.issue22817@psf.upfronthosting.co.za>
In-reply-to
Content
sorry if I wasn't clear.

s = 'ACGTCAGCTGAAACCCCAGCTGACGTACGT
re.split(r'(?<CA)(?=GCTG)',s)

expected output is:
acgtCA|GCTGaaacccCA|GCTGacgtacgt
-> ['ACGTCA', 'GCTGAAACCCCA', 'GCTGACGTACGT']

I would also be able to split a text on word boundaries:
re.split(r'\b', "the quick, brown fox")
-> ['the', ' ', 'quick', ', ', 'brown', ' ', 'fox']

but that doesn't work either so maybe it's a problem with all zero-width matches.
History
Date User Action Args
2014-11-07 22:08:07rexdwyersetrecipients: + rexdwyer, ezio.melotti, mrabarnett, serhiy.storchaka
2014-11-07 22:08:07rexdwyersetmessageid: <1415398087.21.0.102116868296.issue22817@psf.upfronthosting.co.za>
2014-11-07 22:08:07rexdwyerlinkissue22817 messages
2014-11-07 22:08:06rexdwyercreate