pcre
pcre copied to clipboard
PCRE wrapping library that offers type-safe preg_* replacements.
Explicit nullable type have been added to the branch 2.x in https://github.com/composer/pcre/commit/28fb502a83ad3f7a50b19d8d53ef3ff86c8f8104, then merged into main. But the method `Preg::replaceCallbackStrictGroups` was introduced in version 3.x (main branch) by https://github.com/composer/pcre/commit/317c8a52ccaa976e1ef8a99a7431e548f66a294a This...
as requested in https://github.com/phpstan/phpstan-src/pull/2589#issuecomment-2118794734 and further planned with https://github.com/phpstan/phpstan-src/pull/2589#issuecomment-2182124014