more useful options | |
PerlMonks |
Re^3: How to escape single quote(s) without the use of quotemetaby LanX (Saint) |
on Apr 05, 2019 at 15:31 UTC ( [id://1232199]=note: print w/replies, xml ) | Need Help?? |
what about the backslash, do you really want quotemetas behavior?
FWIW you can write a regex which consumes every paired backslash in an or'ed condition before replacing single quotes/backslashes. But a real test-cases are imperative here.
Cheers Rolf
updatethis shows that the input format should be well defined too
In Section
Seekers of Perl Wisdom
|
|