You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following PCRE syntax is correct but PeachPie does not recognize it because of the missing curly brackets:
preg_match('/\pL/u', 'a')
The curly brackets are optional in some cases. From the PCRE specification:
If only one letter is specified with \p or \P, it includes all the general category properties that start with that letter. In this case, in the absence of negation, the curly brackets in the escape sequence are optional; these two examples have the same effect:
\p{L}
\pL
The following PCRE syntax is correct but PeachPie does not recognize it because of the missing curly brackets:
preg_match('/\pL/u', 'a')
The curly brackets are optional in some cases. From the PCRE specification:
Reference:
https://www.pcre.org/original/doc/html/pcrepattern.html
The text was updated successfully, but these errors were encountered: