You are viewing the version of this documentation from Perl blead. This is the main development branch of Perl. (git commit 40d4fc76b5f9cab20ca3914d2aa017863230719b)
${^RE_COMPILE_RECURSION_LIMIT}

The current value giving the maximum number of open but unclosed parenthetical groups there may be at any point during a regular expression compilation. The default is currently 1000 nested groups. You may adjust it depending on your needs and the amount of memory available.

This variable was added in Perl v5.30.0.