fds
This commit is contained in:
parent
5a0baf354f
commit
115585c8a8
1 changed files with 1 additions and 1 deletions
|
@ -677,7 +677,7 @@ marsey_regex = re.compile("[a-z0-9]{1,30}", flags=re.A)
|
|||
|
||||
tags_regex = re.compile("[a-z0-9: ]{1,200}", flags=re.A)
|
||||
|
||||
image_regex = re.compile("(?<=^|\s)(https:\/\/[\w\-.#&/=\?@%;+]{5,250}(\.png|\.jpg|\.jpeg|\.gif|\.webp|maxwidth=9999|fidelity=high))(?=$|\s)", flags=re.I|re.M|re.A)
|
||||
image_regex = regex.compile("(?<=^|\s)(https:\/\/[\w\-.#&/=\?@%;+]{5,250}(\.png|\.jpg|\.jpeg|\.gif|\.webp|maxwidth=9999|fidelity=high))(?=$|\s)", flags=regex.I|regex.A)
|
||||
|
||||
valid_sub_regex = re.compile("^[a-zA-Z0-9_\-]{3,20}$", flags=re.A)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue