-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
preg_match throw an warning #6662
Conversation
The line 139 throw an warning: preg_match(): Unknown modifier ']'. Remove from regular expression the "/" character
Can you please replace it with status: needs work |
What you think if I write the regex like that ( I think that is more readable) ? |
To be honest, I don't like concatenation for new lines. We can use the For now, let's just change it to |
Ok. Thank'you. |
👍 status: reviewed |
👍 |
Good catch, thanks @nicolae-stelian. |
This PR was submitted for the 3.1 branch but it was merged into the 2.7 branch instead (closes #6662). Discussion ---------- preg_match throw an warning The line 139 throw an warning: preg_match(): Unknown modifier ']'. Remove from regular expression the "/" character Commits ------- 50f0256 preg_match throw an warning
The line 139 throw an warning: preg_match(): Unknown modifier ']'. Remove from regular expression the "/" character