-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: micro crashes if search query is \Q
#3700
Comments
While micro/internal/buffer/search.go Lines 157 to 161 in 219fb12
...it will cause trouble in the moment it is compiled a second time within these patterns here... micro/internal/buffer/search.go Lines 44 to 50 in 219fb12
...since every preceding character (after \Q ) is considered literally instead as regex, till a \E would stop this sequence.
This is a regression of #3575, which we didn't realize before. @matthias314: Possible patch:
|
Good catch! I think it would be easiest to fix this in #3658, in the function currently named |
steps to reproduce:
\Q
The text was updated successfully, but these errors were encountered: