[issue28718] '*' matches entire path in fnmatch

2017-12-08 Thread Alberto Galera
Alberto Galera added the comment: I see that they have commented on the lib that I made a few years ago (python-wildcard). The reason for the creation of that little fork started in this issue: https://bugs.python.org/issue25734 -- nosy: +Alberto Galera

[issue25734] fnmatch regular expression can be improved

2015-11-25 Thread Alberto Galera
New submission from Alberto Galera: # https://hg.python.org/cpython/file/tip/Lib/fnmatch.py fnmatch reviewing the code I've noticed that the outcome of the regular expression all returns generated in the first result l97: res = res + '.*' to: res = re