in reply to Re^2: help with a regex
in thread help with a regex

It should be made clear that the  s///r regex switch is only available with Perl versions 5.14 and above.