Update valid filter to be less strict
This commit is contained in:
parent
457c7c060d
commit
3706ac1142
2 changed files with 4 additions and 2 deletions
|
@ -8,7 +8,9 @@ invites = re.compile(
|
||||||
|
|
||||||
custom_emote = re.compile(r"<:\w+:(\d+)>$", flags=re.IGNORECASE)
|
custom_emote = re.compile(r"<:\w+:(\d+)>$", flags=re.IGNORECASE)
|
||||||
|
|
||||||
valid_text = re.compile(r"[\w\s\-\\/.!@#$%^*'\"()+=<>,\u0080-\U000E0FFF]*", flags=re.IGNORECASE)
|
valid_text = re.compile(
|
||||||
|
r"[\w\s\-\\/.!@#$:;\[\]%^*'\"()+=<>,\u0080-\U000E0FFF]*", flags=re.IGNORECASE
|
||||||
|
)
|
||||||
|
|
||||||
url = re.compile(
|
url = re.compile(
|
||||||
r"(?:https?:\/\/(?:www\.)?)?(?P<domain>[-a-z0-9@:%._\+~#=]{1,256}\.[a-z0-9()]{1,6})\b(?:[-a-z0-9()@:%_\+.~#?&//=]*)",
|
r"(?:https?:\/\/(?:www\.)?)?(?P<domain>[-a-z0-9@:%._\+~#=]{1,256}\.[a-z0-9()]{1,6})\b(?:[-a-z0-9()@:%_\+.~#?&//=]*)",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "jarvis-core"
|
name = "jarvis-core"
|
||||||
version = "0.8.5"
|
version = "0.8.6"
|
||||||
description = "JARVIS core"
|
description = "JARVIS core"
|
||||||
authors = ["Zevaryx <zevaryx@gmail.com>"]
|
authors = ["Zevaryx <zevaryx@gmail.com>"]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue