Open angelandy opened 6 years ago
.gitignore:
.uploader_config .idea
and
def globers_to_regex(globers): return map(fnmatch.translate, globers)
can't not change to right regex
read from .gitignore ['.uploader_config', '.idea']
after changed: ['\.uploader\_config\Z(?ms)', '\.idea\Z(?ms)']
I notice that ,you are using fnmatch to translate into regex, but why not using fnmatch match instead?
.gitignore:
.uploader_config .idea
and
can't not change to right regex
read from .gitignore ['.uploader_config', '.idea']
after changed: ['\.uploader\_config\Z(?ms)', '\.idea\Z(?ms)']