On Fri, May 12, 2023 at 11:11:23PM -0700, Jeremy Mates wrote:
> A search for /\/ is okay; this discards the \ and searches for "/"
> 
> A search for ?\? is not okay; this discards the \ and searches for "?"
> which is an invalid regular expression, "RE error: repetition-operator
> operand invalid".
> 
> A problematic bare leading ? on a backwards search can be escaped by
> the following, though I'm not sure if that's an ideal fix. Thoughts?

Have you tried using ?[\?] in extended mode? It works for me.

Reply via email to