note 75339 added to reference.pcre.pattern.syntax
| From: | sammarshall at osu1 dot php dot net | Date: | Thu, 24 May 2007 17:23:49 +0000 |
| Subject: | note 75339 added to reference.pcre.pattern.syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-126872@lists.php.net to get a copy of this message | ||
For anyone who sees this error:
Warning: preg_match() [function.preg-match]: Compilation failed: PCRE does not support \L, \l, \N,
\P, \p, \U, \u, or \X at ...
As this manual page says, you need PHP 5.1.0 and the /u modifier in order to enable these features,
but that isn't the only requirement! It is possible to install later versions of PHP (we have
5.1.4) while linking to an older PCRE install. A quick look at the PCRE changelog suggests that you
probably need at least PCRE 5; we're running 4.5, while the latest is 7.1. You can find out
your PCRE version by checking phpinfo().
I suspect this ancient PCRE version is included in some officially-supported Red Hat Enterprise
package which is probably why we are running it so might also affect other people.
----
Server IP: 87.124.64.96
Probable Submitter: 137.108.145.10 (proxied: 137.108.180.131)
----
Manual Page -- http://www.php.net/manual/en/reference.pcre.pattern.syntax.php
Edit -- https://master.php.net/note/edit/75339
Del: integrated -- https://master.php.net/note/delete/75339/integrated
Del: useless -- https://master.php.net/note/delete/75339/useless
Del: bad code -- https://master.php.net/note/delete/75339/bad+code
Del: spam -- https://master.php.net/note/delete/75339/spam
Del: non-english -- https://master.php.net/note/delete/75339/non-english
Del: in docs -- https://master.php.net/note/delete/75339/in+docs
Del: other reasons-- https://master.php.net/note/delete/75339
Reject -- https://master.php.net/note/reject/75339
Search -- https://master.php.net/manage/user-notes.php