[issue30349] Preparation for advanced set syntax in regular expressions

Serhiy Storchaka report at bugs.python.org
Thu Oct 5 06:26:52 EDT 2017


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Made a warning for '[' be emitted only at the start of a set. This significantly decrease the breakage of other code. I think we can get around without implicit union of nested sets, like in [_[0-9][:Latin:]]. This can be written as [_||[0-9]||[:Latin:]].

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30349>
_______________________________________


More information about the Python-bugs-list mailing list