nvim-pack / nvim-spectre

Find the enemy and replace them with dark power.
MIT License
1.91k stars 67 forks source link

Why error: unrecognized escape sequence \/ #193

Closed brunojoao closed 4 months ago

brunojoao commented 7 months ago

image

if place this regex display error

\/

iam in Lubutnu 22.04

EpsilonKu commented 7 months ago

Seems like it's an issue of rg.

loiclaudet commented 7 months ago

within the regex pattern itself, the forward slash is not a special character

that's probably the reason why a parse error is thrown here

you can directly use/ without character escaping