note 90568 added to regexp.reference

From: Date: Tue, 28 Apr 2009 18:40:03 +0000
Subject: note 90568 added to regexp.reference
Groups: php.notes 
Request: Send a blank email to php-notes+get-153939@lists.php.net to get a copy of this message
As sengokyu mentioned, Redhat/Centos (as of 5.3) is still not using the current version of PCRE. (PCRE 6.6 is used, instead of the current 7.9) There are 2 issues here. 1. Unicode support: PCRE 6 supports Unicode, but Redhat compiled PCRE 6 without unicode support. You can get an updated RPM compiled properly, here: http://tiny.cc/redhat_pcre_6 2. PHP 5.2.4 adds support for \v, \V, \h, \H, but the docs fail to mention that these new flags are *only* available as of PCRE 7.2. Considering that Redhat/Centos is one of the most widely used server distros, it would be unwise to use those new PCRE flags, as they won't be supported on most servers that your code would run on Additionally, there are no intentions to update PCRE 6.6 to PCRE 7.x anytime soon, as there are many applications in Redhat/Centos that could be broken by PCRE 7.x (which apparently isn't 100% backwards compatible?). This is quite a shame, as these new PCRE features are quite handy... ---- Server IP: 209.41.74.194 Probable Submitter: 70.63.90.226 ---- Manual Page -- http://www.php.net/manual/en/regexp.reference.php Edit -- https://master.php.net/note/edit/90568 Del: integrated -- https://master.php.net/note/delete/90568/integrated Del: useless -- https://master.php.net/note/delete/90568/useless Del: bad code -- https://master.php.net/note/delete/90568/bad+code Del: spam -- https://master.php.net/note/delete/90568/spam Del: non-english -- https://master.php.net/note/delete/90568/non-english Del: in docs -- https://master.php.net/note/delete/90568/in+docs Del: other reasons-- https://master.php.net/note/delete/90568 Reject -- https://master.php.net/note/reject/90568 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#153939) next »