Author aleskva
Recipients aleskva, ezio.melotti, mrabarnett
Date 2018-05-27.08:53:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527411207.29.0.682650639539.issue33658@psf.upfronthosting.co.za>
In-reply-to
Content
After removing inline flags (deprecated in https://bugs.python.org/issue22493) piping patterns will not work:
pats = [r'(?m)^line.continues$', r'(?s)begin.*?end']
re.compile('|'.join(pats))


Maybe there should be introduced some method to merge patterns (similar to re.escape)?
History
Date User Action Args
2018-05-27 08:53:27aleskvasetrecipients: + aleskva, ezio.melotti, mrabarnett
2018-05-27 08:53:27aleskvasetmessageid: <1527411207.29.0.682650639539.issue33658@psf.upfronthosting.co.za>
2018-05-27 08:53:27aleskvalinkissue33658 messages
2018-05-27 08:53:27aleskvacreate