-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
regexps ending with $ #71
Comments
This is actually not a bug in orderless at all, but something caused by an implementation detail in
(Note that you said The simplest work around is to use a |
Great! Thanks for the explanation. Might I suggest adding something about this in the orderless documentation, since from the user's prespective this does look at first glance like a bug in orderless? For instance, when reaching the orderless github page in my browser, it would be good if searching on '$' would bring me to this information. Thanks again. |
Hello. Thanks for this package.
I have experienced some strange behaviour when trying to narrow my search using $ at the end of a regexp. For instance if I have a bunch of .ts and .tsx files open, and when using consult-buffer, I'd like to narrow my search to buffer names ending in 'ts' by typing 'ts$' in the search interface. For me this gives no matches. However I experience no problems using ^ at the beginning of a regexp, in such cases search narrowing works as you'd expect. When experimenting with more examples I get inconsistent behaviours -- all of the following regexps should narrow to buffers whose names end in 'ts' -- 'ts$', '[t]s$', 'ts[^x]$', 'ts[^y]$', '[t]s[^z]$ -- but for me, the first 2 give no matches, but the last 3 do successfully match the buffer names ending in 'ts'.
The text was updated successfully, but these errors were encountered: