Skip to content

Instantly share code, notes, and snippets.

@lmeyer
Created November 21, 2012 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lmeyer/4125798 to your computer and use it in GitHub Desktop.
Save lmeyer/4125798 to your computer and use it in GitHub Desktop.
Validateur Symfony ne matchant pas avec une regexp
$this->validatorSchema['username'] = new sfValidatorEmail(
array('trim' => true, 'must_match' => false, 'min_length' => 3, 'max_length' => 50),
array('messages d erreurs')
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment