This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
move eval_state init from regtry() to regexec()
regexec() calls regtry() for each match start position until a match is
found. regtry() has some code that says: "if this regex contains (?{})'s,
and if we haven't done so already, set up the extra state needed".
Move the setup one level higher, into regexec(). Here, we just do it once,
and don't have to keep checking whether we've already done it.
This is part of an effort to consolidate all regex state initialisation
into one place.