[php-src] Issue #7994: PCRE2 Matching error introduced in 7.4.7
| From: | peter-thoenen | Date: | Sun, 23 Jan 2022 22:07:40 +0000 |
| Subject: | [php-src] Issue #7994: PCRE2 Matching error introduced in 7.4.7 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239263@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7994
Author: peter-thoenen
### Description
Starting with PHP 7.4.7 PCRE2 {x} no longer matches but {x-1,x+1} does. For a more full explanation
see this bug off another project where the project owner was like "upstream and here is proof,
go file with PHP" so here I am :)
basically with the string "aa" [a]{1,3} matches but [a]{2} does not as of PHP 7.4.7.
https://github.com/firasdib/Regex101/issues/1704#issuecomment-1019503942
### PHP Version
PHP 7.4.7
### Operating System
No idea, whatever Tenable Security Center runs.