No such thing as a small change | |
PerlMonks |
Re^3: Is there a way to make these two regex lines cleaner?by AnomalousMonk (Archbishop) |
on Apr 17, 2022 at 22:55 UTC ( [id://11143040]=note: print w/replies, xml ) | Need Help?? |
A hyphen placed at the beginning of a character class or tr/// search/replace list is also interpreted literally: But one can argue that one is as likely to place new stuff at the start as at the end, so escaping remains wise. :) Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|