Skip to content
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

Anchor regexes and escape potential metachars [#14] #220

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

genehack
Copy link
Contributor

Also add note that the underlying code in the linkchecker uses re.match() to evaluate the regular expression, so there's already an implicit start of string anchor in effect, and something like r'google' will NOT match anything.

Also add note that the underlying code in the linkchecker uses
`re.match()` to evaluate the regular expression, so there's already an
implicit start of string anchor in effect, and something like
`r'google'` will _NOT_ match anything.
@genehack genehack requested a review from victorlin August 15, 2024 15:56
@genehack genehack merged commit b744535 into master Aug 15, 2024
4 checks passed
@genehack genehack deleted the anchor-regexes-14 branch August 15, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants