Changelog: https://github.com/PCRE2Project/pcre2/blob/pcre2-10.40/ChangeLog (cherry picked from commit fd6eb2c2d273450d2d67142554ee64bf63730956)