forked from rDrama/rDrama
1
0
Fork 0
Aevann 2023-12-01 22:42:57 +02:00
parent 1c5315d0f7
commit 2c77044cdc
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ from random import choice, choices
from .config.const import *
NOT_IN_CODE_OR_LINKS = '(?!([^<]*<\/(code|pre|a)>|[^`\n]*`|(.|\n)*```))'
NOT_IN_CODE_OR_LINKS = '(?!([^<]*<\/(code|pre|a)>|[^`\n]*`))'
valid_username_regex = re.compile("^[\w-]{3,25}$", flags=re.A)
valid_username_patron_regex = re.compile("^[\w-]{1,25}$", flags=re.A)