Open withamoliver opened 1 week ago
What is an example search string that does not work with regex enabled? I wouldn't expect @
or #
to need to be regex escaped. 🤔
What is the behavior you expect?
Interestingly #count
and count#
don't work but co#unt
does. It looks like the text which ends up in the search bar converts the #
to \#
.
Similarly @count
and count@
don't work but co@unt
does, but this time there's no conversion of the text which ends up in the search bar.
The behaviour I expect is that if I put my cursor on a 'word' which includes a @
or #
and use vim: move to next
(*
key) or use vim: move to prev
(#
key) then it should go to the next/prev instance of that 'word'. I don't care what ends up in the search bar or whether Use Regular Expressions
is checked, I just want it to find the next instance.
Check for existing issues
Describe the bug / provide steps to reproduce it
@
or#
to language word_characters (or look at a JavaScript file which already includes#
).@
or#
character.*
/#
.Use Regular Expressions
option results in matches being found.Environment
Zed: v0.160.7 (Zed) OS: macOS 14.4.1 Memory: 32 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
No response