in reply to Choosing regex delimiters
I changed the double-quotes to single-quotes and got a reasonable result. Which to me suggests that the shell does some processing with double-quoted strings before it reaches perl
Whatever shell you are using, try this:
> echo 'hello $1' hello $1 > echo "hello $1" hello
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Choosing regex delimiters
by JavaFan (Canon) on Feb 06, 2009 at 16:42 UTC | |
by jethro (Monsignor) on Feb 06, 2009 at 17:15 UTC | |
by JavaFan (Canon) on Feb 06, 2009 at 17:41 UTC |