fixed issues with regex2 in validators?

This commit is contained in:
Massimo
2014-01-09 11:47:32 -06:00
parent 09fb170a83
commit c2a23d03c2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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):