in reply to Re^2: hex code passed from command line is interpreted literally in substitution
in thread hex code passed from command line is interpreted literally in substitution

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.

  • Comment on Re^3: hex code passed from command line is interpreted literally in substitution