docs(schema): fixed SPECIAL_CHAR_PATTERN constant definition string (#38433)
This commit is contained in:
parent
2f0319d3b5
commit
6d12ae7a40
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ from frappe import _
|
||||||
from frappe.utils import cint, cstr, flt
|
from frappe.utils import cint, cstr, flt
|
||||||
from frappe.utils.defaults import get_not_null_defaults
|
from frappe.utils.defaults import get_not_null_defaults
|
||||||
|
|
||||||
# This matches anything that isn't [a-zA-Z0-9_]
|
# This matches anything that isn't Unicode Word Characters, Numbers and Underscore.
|
||||||
SPECIAL_CHAR_PATTERN = re.compile(r"[\W]", flags=re.UNICODE)
|
SPECIAL_CHAR_PATTERN = re.compile(r"[\W]", flags=re.UNICODE)
|
||||||
|
|
||||||
VARCHAR_CAST_PATTERN = re.compile(r"varchar\(([\d]+)\)")
|
VARCHAR_CAST_PATTERN = re.compile(r"varchar\(([\d]+)\)")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue