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
If you use php 7.3 and higher, then use my edits. Otherwise, you will get errors due to migration to PCRE2 in new versions of PHP.
For example: Warning: preg_match_all (): Compilation failed: invalid range in character class at offset 4
New file
The text was updated successfully, but these errors were encountered:
Yep, it's the new strict PCRE2 caused by regex
\w-:
which should be
\w\-:
Here is the simple snippet used in php.net
preg_match('/[\w-.]+/', ''); // this will not work in PHP7.3 preg_match('/[\w\-.]+/', ''); // the hyphen need to be escaped
Sorry, something went wrong.
No branches or pull requests
If you use php 7.3 and higher, then use my edits. Otherwise, you will get errors due to migration to PCRE2 in new versions of PHP.
For example: Warning: preg_match_all (): Compilation failed: invalid range in character class at offset 4
New file
The text was updated successfully, but these errors were encountered: