Re: PCRE syntax update
| From: | gerzson | Date: | Thu, 17 Mar 2005 21:34:34 +0000 |
| Subject: | Re: PCRE syntax update | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969367012@lists.php.net to get a copy of this message | ||
On Thu, 17 Mar 2005 20:27:11 -0000, Nuno Lopes <nlopess@php.net> wrote:
> > Hi,
> >
> > PHP is bundled with PCRE 4.3 for a long time ago
> > (http://www.zend.com/lists/php-dev/200306/msg00844.html), but the PCRE
> > syntax manual section has not been updated to reflect this change up
> > to now.
>
> Thats not totally true, as I've already documented some changes.
can you clear that what parts you updated exactly? I compared the PHP
manual PCRE Pattern section
(http://hu.php.net/manual/en/reference.pcre.pattern.syntax.php) and
the PCRE manual (http://www.pcre.org/pcre.txt) and I've found the
following sections are missing or differs much:
- locale support
- unicode support
- supported POSIX character class list
- named capturing subpattern (?P<url> ...)
- recursive subpattern (almost beat Perl ;)
- possesive quantifiers (?+, *+, ++)
> Yes, we need to update it. And as PCRE 5 will probably be bundled in php
> 5.1, we will have even more work.
Wow, that sounds great! Is there any publicly available docs about the
new features?
> So, if you can write a patch to the docs, I'll be glad to review and commit
> it.
Thanks, I've already CVS account to phpdoc, but if you want to take a
look at it before committing I'll send you the new .xml files instead.
--
Papp, Gyozo