]> granicus.if.org Git - php/commit
Implement #47456: Missing PCRE option 'J'
authorChristoph M. Becker <cmbecker69@gmx.de>
Thu, 21 Jul 2016 13:36:42 +0000 (15:36 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 21 Jul 2016 13:36:42 +0000 (15:36 +0200)
commitc4fe264b401c6731bcdf155f4fdb12c3ab0947ae
tree6d20b7ada93662c03f113c2083ae19510b3a5a0f
parent09b4ab4bb63ec72f3b686ab41a8e128d4b164ec1
Implement #47456: Missing PCRE option 'J'

While it is possible to force the same behavior by setting the internal
option (?J), having a dedicated modifier appears to be useful. After all,
J is even listed on the "Pattern Modifiers" man page[1], but the description
referrs to (?J).

[1] <http://php.net/manual/en/reference.pcre.pattern.modifiers.php>
ext/pcre/php_pcre.c
ext/pcre/tests/request47456.phpt [new file with mode: 0644]