forked from rDrama/rDrama
master
parent
1c5315d0f7
commit
2c77044cdc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue