Validation icon indicating copy to clipboard operation
Validation copied to clipboard

Invalid patterns

Open janmoes96 opened this issue 3 years ago • 0 comments

Hi there, I've started using your class since today.

for some reason I'm getting this error multiple times on the page Warning: preg_match(): Compilation failed: invalid range in character class at offset 13 in \wp-content\plugins\my_plugin\classes\Validation.php on line 99. And for some reason patterns like email don't accept normal emails like [email protected]. Also normal text fields need to have the pattern alpha to be accepted as valid.

Do you know how to solve this?

janmoes96 avatar Oct 11 '21 11:10 janmoes96