Browse Source

use the same example of demo data for email

pull/246/head
eLBati 9 years ago
parent
commit
91df5ad366
  1. 2
      base_field_validator/models/ir_model_field_regex.py

2
base_field_validator/models/ir_model_field_regex.py

@ -12,4 +12,4 @@ class IrModelFieldsRegex(models.Model):
'Regular Expression', required=True, 'Regular Expression', required=True,
help="Regular expression used to validate the field. For example, " help="Regular expression used to validate the field. For example, "
"you can add the expression\n%s\nto the email field" "you can add the expression\n%s\nto the email field"
% r'\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b')
% r'[^@]+@[^@]+\.[^@]+')
Loading…
Cancel
Save