[issue11947] re.IGNORECASE does not match literal "_" (underscore)

Robert Meerman report at bugs.python.org
Fri Apr 29 13:53:33 CEST 2011


Robert Meerman <robert.meerman at gmail.com> added the comment:

Oh, that's embarrassing. :-)

Could a type-check be used to alert the user to their mistake? I suppose that would require re.IGNORECASE (et al) to be of some new type (presumably sub-classed from Integer).

(Thanks for the quick response, and sorry to waste your time)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11947>
_______________________________________


More information about the Python-bugs-list mailing list