I thought by using a string at the top for the expression I was making it easier to read.
Even without the confounding m/ / pieces in the string, it's almost never a good idea to use either a single- or double-quoted string to define a regex if you can avoid it; many subtle pitfalls lurk there. Use the qr// operator instead; see Regexp Quote-Like Operators in perlop.
Give a man a fish: <%-{-{-{-<
In reply to Re^3: I THOUGHT I'd finally understood genex
by AnomalousMonk
in thread I THOUGHT I'd finally understood regex
by JEDtoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |