fixed issues with regex2 in validators?
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.8.2-stable+timestamp.2014.01.09.08.37.33
|
Version 2.8.2-stable+timestamp.2014.01.09.11.46.01
|
||||||
|
|||||||
+1
-1
@@ -458,7 +458,7 @@ class IS_IN_SET(Validator):
|
|||||||
|
|
||||||
|
|
||||||
regex1 = re.compile('\w+\.\w+')
|
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):
|
class IS_IN_DB(Validator):
|
||||||
|
|||||||
Reference in New Issue
Block a user