Skip to content

Commit

Permalink
fix: patch invalid escape sequence in regex argument help text to sup…
Browse files Browse the repository at this point in the history
…port py3.12

Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 authored and firecat53 committed Jan 8, 2024
1 parent 133f77f commit a67a2c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Utilities",
]
dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion urlscan/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def parse_arguments():
arg_parse.add_argument('--regex', '-E',
help="Alternate custom regex to be used for all "
"kinds of matching. "
"For example: --regex 'https?://.+\.\w+'")
r"For example: --regex 'https?://.+\.\w+'")
arg_parse.add_argument('--run', '-r',
help="Alternate command to run on selected URL "
"instead of opening URL in browser. Use {} to "
Expand Down

0 comments on commit a67a2c6

Please sign in to comment.