I wrote: > This is a regular expression problem, rather than a Python problem.
Ram wrote: > Do you have evidence for this assertion, except that > other regex implementations have this limitation? Yes. 1. I've already supplied: https://svn.boost.org/trac10/ticket/11776 2. https://en.wikipedia.org/wiki/Regular_expression does not contain the word 'stream'. Ram wrote: > For my use case, it unfortunately can't. For that case, Ram, I've already given my best advice. If you get a better idea, please do follow it. And share it with us, so we can all learn. -- Jonathan _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/