Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid patterns #11

Open
janmoes96 opened this issue Oct 11, 2021 · 0 comments
Open

Invalid patterns #11

janmoes96 opened this issue Oct 11, 2021 · 0 comments

Comments

@janmoes96
Copy link

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 example@example.com. Also normal text fields need to have the pattern alpha to be accepted as valid.

Do you know how to solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant