in reply to Re: Regex help
in thread Regex help
Yes, in perlre, as follows:
An unescaped "$" or "@" interpolates the corresponding variable, while escaping will cause the literal string "\$" to be matched.
(Though in the version of the perlre man page I have installed, for perl 5.8.8, this sentence comes second in a paragraph that begins with:
You cannot include a literal "$" or "@" within a "\Q" sequence."
I can understand that some might consider this obscure.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex help
by pKai (Priest) on Jul 26, 2009 at 09:48 UTC |