Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Jan 10, 2024
2 parents 3120f12 + 5b4b5c3 commit 07704ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion antilinks/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
RequestType = Literal["discord_deleted_user", "owner", "user", "user_strict"]

LINKS: Pattern[str] = re.compile(
r"(\|\|)?(([\w]+:)?\/\/)?(([\d\w]|%[a-fA-f\d]{2,2})+(:([\d\w]|%[a-fA-f\d]{2,2})+)?@)?([\d\w][-\d\w]{0,253}[\d\w]\.)+[\w]{2,63}(:[\d]+)?(\/([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)*(\?(&?([-+_~.\d\w]|%[a-fA-f\d]{2,2})=?)*)?(#([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)?(\|\|)?" # type: ignore
r"(\|\|)?(([\w]+:)?\/\/)?(([\d\w]|%[a-fA-f\d]{2,2})+(:([\d\w]|%[a-fA-f\d]{2,2})+)?@)?([\d\w]?[-\d\w]{0,253}[\d\w]\.)+[\w]{2,63}(:[\d]+)?(\/([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)*(\?(&?([-+_~.\d\w]|%[a-fA-f\d]{2,2})=?)*)?(#([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)?(\|\|)?" # type: ignore
)


Expand Down
3 changes: 2 additions & 1 deletion battleroyale/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"requirements": [
"pillow",
"prettytable",
"typing_extensions"
"typing_extensions",
"emoji"
],
"type": "COG",
"end_user_data_statement": "This cog does not store End User Data."
Expand Down

0 comments on commit 07704ae

Please sign in to comment.