We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e52fc5c commit 81e33abCopy full SHA for 81e33ab
codespell_lib/_codespell.py
@@ -58,7 +58,7 @@
58
# these may occur unescaped in URIs, and so we are more restrictive on the
59
# endpoint. Emails are more restrictive, so the endpoint remains flexible.
60
uri_regex_def = (
61
- "(\\b(?:https?|[ts]?ftp|file|git|smb)://[^\\s]+(?=$|\\s)|\\b[\\w.%+-]+@[\\w.-]+\\b)"
+ r"(\b(?:https?|[ts]?ftp|file|git|smb)://[^\s]+(?=$|\s)|\b[\w.%+-]+@[\w.-]+\b)"
62
)
63
inline_ignore_regex = re.compile(r"[^\w\s]\s?codespell:ignore\b(\s+(?P<words>[\w,]*))?")
64
USAGE = """
0 commit comments