in reply to Can I use Q and E to regex match the dollar sign?
You cannot include a literal "$" or "@" within a "\Q" sequence. An unescaped "$" or "@" interpolates the corresponding variable, while escaping will cause the literal string "\$" to be matched. You'll need to write something like "m/\Quser\E\@\Qhost/".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can I use Q and E to regex match the dollar sign?
by radiantmatrix (Parson) on Aug 30, 2005 at 19:36 UTC |