... $line =~ m?$regexp? ... That seems to work fine ...
Again, m?...? is a special case of the m// operator (per this), but if you're happy with its one-match-only behavior, I'm happy too! :)
Give a man a fish: <%-{-{-{-<
In reply to Re^3: Regex variables with delimiters
by AnomalousMonk
in thread Regex variables with delimiters
by clerew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |