[php-src] PR #18150: Remove PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK from pcre compile options
| From: | mvorisek | Date: | Wed, 26 Mar 2025 13:40:28 +0000 |
| Subject: | [php-src] PR #18150: Remove PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK from pcre compile options | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31177@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18150
Author: mvorisek
As recommended in https://github.com/PCRE2Project/pcre2/issues/736#issuecomment-2753974366
by pcre2 maintainer
The
PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK compile option was introduced in https://github.com/php/php-src/commit/dd61002676cbb4ff222a743ffd18ea940bc0085d.
I belive it was done mainly to fix 1 failing test, not to support some strong usecase.
\K in lookaround is not much useful. We should compile pcre2 with default options.