in reply to Regex substitution modifier /r
Type perl -v.
The /r feature was introduced in Perl 5.14.0: perl5140delta.
Dave