-
Notifications
You must be signed in to change notification settings - Fork 911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: roll to v1.49.0 #2660
chore: roll to v1.49.0 #2660
Conversation
match = glob_to_regex(match) | ||
if isinstance(match, Pattern): | ||
return bool(match.search(url_string)) | ||
return match(url_string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason Python does not have this code:
The "past path" seems an optimisation while the 'parseURL path matching' seems not implemented at all?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like js has some dead code. match
cannot be a string there because we do match = globToRegex(match);
before.
match = glob_to_regex(match) | ||
if isinstance(match, Pattern): | ||
return bool(match.search(url_string)) | ||
return match(url_string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like js has some dead code. match
cannot be a string there because we do match = globToRegex(match);
before.
0a44a70
to
04fe1c6
Compare
Fixes #2606
Fixes #1949