Perl regexes allow variable interpolation and a final $ is taken as a meta for end-of-line
Otherwise, what would /$var/ be supposed to match?
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
In reply to Re: Mnemonic for begin/end chars in regexes
by LanX
in thread Mnemonic for begin/end chars in regexes
by Smonff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |