You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@agalera I noticed (because of a packaging issue) that pywildcard has a second distinction with Python's fnmatch, i.e. how the resulting regular expression can be used with re.findall:
The usage pattern with re.findall does not work with Python's fnmatch. Is this difference intentional or just historical? In the latter case, I would suggest to make pywildcard more similar to fnmatch again, such that the following would work:
OK, I see it is intentional. I'd like to fully understand everything and so I'm sorry for asking possibly silly questions. What is the advantage of using
@agalera I noticed (because of a packaging issue) that pywildcard has a second distinction with Python's fnmatch, i.e. how the resulting regular expression can be used with
re.findall
:The usage pattern with
re.findall
does not work with Python's fnmatch. Is this difference intentional or just historical? In the latter case, I would suggest to make pywildcard more similar to fnmatch again, such that the following would work:The text was updated successfully, but these errors were encountered: