in reply to Matching patterns containing a caret
The \Q solution makes the most sense in my case because I dont need to check if there happens to be a caret in front.
Much appreciated.