in reply to Re^4: Regex question - identify which pattern comes first
in thread Regex question - identify which pattern comes first

No the feature was already present in 5.8

5.8.0/perlre#(?{ code })

I have another (simpler?) solution in mind which was probably only introduced with 5.10+

Update

yep!

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery

  • Comment on Re^5: Regex question - identify which pattern comes first