Skip to content

Commit

Permalink
fix \s warning
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Feb 5, 2024
1 parent 5963173 commit c375393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbot/core/helpers/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1451,7 +1451,7 @@ def search_dict_values(d, *regexes):
... ]
... }
... }
>>> url_regexes = re.compile(r'https?://[^\s<>"]+|www\.[^\s<>"]+')
>>> url_regexes = re.compile(r'https?://[^\\s<>"]+|www\.[^\\s<>"]+')
>>> list(search_dict_values(dict_to_search, url_regexes))
["https://www.evilcorp.com"]
"""
Expand Down

0 comments on commit c375393

Please sign in to comment.