why is this not needed on the search pattern?
The regex is compiled after interpolation.
what other kinds of surprises might I expect in passing regexes on the command line?
You just asked why there was no surprise with the regex.
In reply to Re^3: hex code passed from command line is interpreted literally in substitution
by ikegami
in thread hex code passed from command line is interpreted literally in substitution
by Allasso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |