I guess we only need this on HEAD.

This commit is contained in:
Andrei Zmievski 2006-04-06 21:35:27 +00:00
parent 3d7abc2931
commit 4033bfbda0

View File

@ -1,20 +0,0 @@
- Allow NULL for $matches argument (helps when using preg_match only for
match condition) - might not be possible
- http://bugs.php.net/bug.php?id=36975
- I'd love to see a pattern modifer which says "don't fill $matches except
for the overall match and any specific named captures". This would allow
(?: ...) to be avoided in a lot of cases.
This could make for non-trivial speed enhancements with regexes that have
a lot of parens when working on long strings, since you'd not have to
copy them multiple times to the $matches array.
Also, it makes $matches much cleaner after a match where you've named the
captures you're interested in.
(Note that this would not involve the use of PCRE_NO_AUTO_CAPTURE, as
that would change the semantics of backreferences)