php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66735 Outdated docs for PCRE (subpatterns)
Submitted: 2014-02-18 18:41 UTC Modified: 2014-02-18 18:46 UTC
From: grdalenoort at gmail dot com Assigned:
Status: Closed Package: PCRE related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
13 + 3 = ?
Subscribe to this entry?

 
 [2014-02-18 18:41 UTC] grdalenoort at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/regexp.reference.subpatterns
---
"... The maximum number of captured substrings is 99, and the maximum number of all subpatterns, both capturing and non-capturing, is 200 ..."

Via twitter: The limit was changed in PCRE 3.5 - PHP now [feb. 2014] uses PCRE 8.34 ^^ Looks like the docs are *slightly* outdated :)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-02-18 18:46 UTC] grdalenoort at gmail dot com
-Status: Open +Status: Closed
 [2014-02-18 18:46 UTC] grdalenoort at gmail dot com
docs were updated (svn), will take a few days to propagate.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 17:01:31 2024 UTC