Rebame the regex constants file name to not have compiled inside the name
This commit is contained in:
@@ -2,9 +2,13 @@
|
||||
List of regex compiled strings that can be used
|
||||
"""
|
||||
|
||||
import re
|
||||
|
||||
|
||||
EMAIL_REGEX_BASIC = r"""
|
||||
^[A-Za-z0-9!#$%&'*+\-\/=?^_`{|}~][A-Za-z0-9!#$%:\(\)&'*+\-\/=?^_`{|}~\.]{0,63}
|
||||
@(?!-)[A-Za-z0-9-]{1,63}(?<!-)(?:\.[A-Za-z0-9-]{1,63}(?<!-))*\.[a-zA-Z]{2,6}$
|
||||
"""
|
||||
EMAIL_REGEX_BASIC_COMPILED = re.compile(EMAIL_REGEX_BASIC)
|
||||
|
||||
# __END__
|
||||
@@ -3,7 +3,7 @@ Class of checks that can be run on value entries
|
||||
"""
|
||||
|
||||
from typing import TypedDict
|
||||
from corelibs.check_handling.regex_compiled_constants import EMAIL_REGEX_BASIC
|
||||
from corelibs.check_handling.regex_constants import EMAIL_REGEX_BASIC
|
||||
|
||||
|
||||
class SettingsLoaderCheckValue(TypedDict):
|
||||
|
||||
Reference in New Issue
Block a user