ZF-11751: Zend_Validate_Hostname preg_match in line 583 give error (


When i try to validate this email: the validator tells me that it is invalid. That ok.

But it uses in this case an regular expression $_validIdns[EU][6]


thisone fails with an error that is masked with @, but written into our error-log.

I tried this regular expression and get the error:

preg_match(): Compilation failed: range out of order in character class at offset 70


For validate a email do use class Zend_Validate_EmailAddress. Your example is really a invalid email

The correct could be

@Raphael: Your comment has nothing to do with the described error

Fixed in ZF2 with GH-447