Subject: | Variables::ProhibitPunctuationVars gives false-positive on qr// regexp's ending in '$' |
Creating a regular expression object that ends with the end-of-string
anchor causes a false-positive for the
Variables::ProhibitPunctuationVars policy. The following regexp is an
example of this:
$qr = qr/foo$/;
Using matched brackets also triggers the false-positive:
$qr = qr{foo$}; # Also triggers
Randy
--
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray Silicon Valley Scale Modelers:
http://www.svsm.org
rjray@blackperl.com
randy.j.ray@gmail.com