R. David Murray added the comment:
That would be a backward incompatible behavior change. The patterns are
designed to be used on single filenames, not on newline separated filenames.
--
nosy: +r.david.murray
resolution: -> rejected
stage: -> resolved
status: open -> closed
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 = res + '.*?'
l100: