in reply to How to prevent metacharacter interpolation
The simplest might be just to prefix all non-word and non-space characters in the pattern by a \:
Originally posted as a Categorized Answer.