Open gerbenk opened 8 years ago
Can you clarify a bit what changed between the first and the second RE statement?
The minus sign was moved from the end of the first [] to the middle. But it should have worked already, so I guess the problem is in the regex engine.
One of my customers tried to register with an email with a dash '-' and this is invalid according to the validater
When I slightly change the regex to the following, it does work, so I think the problem is in the regex engine.