Ales Kvapil <ales...@mailinator.com> added the comment: Maybe there should be introduced some method to merge patterns as just piping patterns will not work: pats = [r'(?m)^line.continues$', r'(?s)begin.*?end'] re.compile('|'.join(pats))
---------- nosy: +aleskva _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue22493> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com