Added escape character to regex to fix reverse incremental search

I noticed that reverse incremental search using `?` wasn't working. It looks like this was due to the `?` character not being escaped in the regex. I've added an escape character and reverse incremental search now functions as it should.