We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: v3.0.1
Can not use "pipe" ("|") character in Validators pattern
Validators::is('a', 'pattern:(a|b)'); // E_WARNING: preg_match(): Compilation failed: missing closing parenthesis at offset 1
Validators::is('a', 'pattern:(a|b)'); // should return true
The text was updated successfully, but these errors were encountered:
Related #14 #15 #31
It is really hard to fix.
Sorry, something went wrong.
No branches or pull requests
Version: v3.0.1
Bug Description
Can not use "pipe" ("|") character in Validators pattern
Steps To Reproduce
Expected Behavior
The text was updated successfully, but these errors were encountered: