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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22949>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to