1..11 # __construct() - throws an RuntimeException if you don't pass a pattern option # ->clean() - checks that the value match the regex - throws an sfValidatorError if the value does not match the pattern - throws a sfValidatorError - checks that the value does not match the regex if must_match is false - throws an sfValidatorError if the value matches the pattern if must_match is false - throws a sfValidatorError - uses the pattern returned by a sfCallable pattern option # ->asString() - returns a string representation of the validator # ->getPattern() - returns the regular expression - returns a regular expression from a sfCallable # Looks like everything went fine.