google / zoekt

Fast trigram based code search
1.67k stars 113 forks source link

Error parsing regexp when escaped square brackets are quoted #139

Open robinp opened 2 years ago

robinp commented 2 years ago

Try searching "\[\]", which fails with error parsing regexp: missing closing ]: '[]', while \[\] works. Is this intended? Certainly surprising.