• Sergei Golubchik's avatar
    compatibility with pcre2 < 10.30 · fc5a6a28
    Sergei Golubchik authored
    * It uses stack a lot, limit the recursion depth like
      we used to do for pcre.
    * But don't do that for newer pcre2 that uses stack very little
      (and doesn't support limiting recursion depth anyway).
    * Fix tests to verify only that deep recursion doesn't crash, but
      ignore results and warnings (which depend on pcre2 version)
    * Also different pcre2 versions report different offset in error messages,
      take that into account.
    fc5a6a28
func_regexp_pcre.result 22.9 KB