pcre2_set_match_limit(3) on Linux
The text 913e2f2160f9, as Debian 12 (Bookworm), Debian 11 (Bullseye), Debian 10 (Buster), Debian 9 (Stretch) shipped it.
Perl-compatible regular expressions (revised API)
The text 913e2f2160f9, as Debian 12 (Bookworm), Debian 11 (Bullseye), Debian 10 (Buster), Debian 9 (Stretch) shipped it.
Perl-compatible regular expressions (revised API)