[issue42469] Space in re's {min, max} should raise an error, rather than fail silently

Raymond Hettinger report at bugs.python.org
Thu Nov 26 18:26:27 EST 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

If this can be fixed without doing brain surgery on the code, it would be nice to have this flagged as an error.  People should learn as early as possible that regex patterns tend to be unforgiving about extra spaces.

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list