Open obriat opened 3 years ago
Has seen on https://bugs.php.net/bug.php?id=81424
On line: https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port/blob/3cbf557f4079d83a06f9c3ff9b957c022d7805cf/src/Minifier.php#L729
The following regex /[^{};\/\n]+\{\}/S is not optimal with PCRE2 10.35+ (100 times slower) it should be rewrite. The solution proposed on the PHP issue is not suitable here, a regexp expert should have a look at it
/[^{};\/\n]+\{\}/S
Has seen on https://bugs.php.net/bug.php?id=81424
On line: https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port/blob/3cbf557f4079d83a06f9c3ff9b957c022d7805cf/src/Minifier.php#L729
The following regex
/[^{};\/\n]+\{\}/S
is not optimal with PCRE2 10.35+ (100 times slower) it should be rewrite. The solution proposed on the PHP issue is not suitable here, a regexp expert should have a look at it