Skip to content

Commit

Permalink
Update codespell_lib/_codespell.py
Browse files Browse the repository at this point in the history
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
  • Loading branch information
jonmeow and bl-ue committed Jun 1, 2021
1 parent a5402ec commit f7e3e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codespell_lib/_codespell.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# While we want to treat characters like ( or " as okay for a starting break,
# these may occur unescaped in URIs, and so we are more restrictive on the
# endpoint. Emails are more restrictive, so the endpoint remains flexible.
uri_regex_def = (u"(\\b(?:https?|t?ftp|file|git|smb)://[^\\s]+(?=$|\\s)|"
uri_regex_def = (u"(\\b(?:https?|[ts]?ftp|file|git|smb)://[^\\s]+(?=$|\\s)|"
u"\\b[\\w.%+-]+@[\\w.-]+\\b)")
encodings = ('utf-8', 'iso-8859-1')
USAGE = """
Expand Down

0 comments on commit f7e3e73

Please sign in to comment.