No such thing as a small change | |
PerlMonks |
Re^2: Switch/Format to not interpret metacharacters in regex?by afoken (Chancellor) |
on Dec 05, 2019 at 20:44 UTC ( [id://11109708]=note: print w/replies, xml ) | Need Help?? |
See also the built-in quotemeta function (which does something very similar to \Q ... \E). Not only similar. quotemeta is the function implementing the \Q escape, according to quotemeta. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|