fixed issues with regex2 in validators?
This commit is contained in:
+1
-1
@@ -458,7 +458,7 @@ class IS_IN_SET(Validator):
|
||||
|
||||
|
||||
regex1 = re.compile('\w+\.\w+')
|
||||
regex2 = re.compile('%\((?P<name>[^\)]+)\)\d*(\.\d+)?[a-zA-Z]')
|
||||
regex2 = re.compile('%\(([^\)]+)\)\d*(?:\.\d+)?[a-zA-Z]')
|
||||
|
||||
|
||||
class IS_IN_DB(Validator):
|
||||
|
||||
Reference in New Issue
Block a user