[issue22949] fnmatch.translate doesn't add ^ at the beginning

Serhiy Storchaka report at bugs.python.org
Wed Nov 26 16:34:22 CET 2014


Serhiy Storchaka added the comment:

The result of fnmatch.translate() is used with re.match(). It could be even simplified if use it with re.fullmatch(), but I afraid such change can break user code.

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list