Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: regex compilationby AnomalousMonk (Archbishop) |
on Feb 12, 2019 at 20:29 UTC ( [id://1229839]=note: print w/replies, xml ) | Need Help?? |
FWIW, single-quoted regex notation gets you closer (update: than double-quoting) to the desired final form, but still not all the way and there are some pitfalls. Better, IMHO, to stick to qr//. (BTW: morgon: It's not necessary to escape a " (double-quote) in a qr// expression.) File rx_qr_qq_q_1.pl: Output:
Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|