As per title, counsel-locate prints "Error" as soon as a regex is created. I.e. "abc" as input is fine, but not "abc abc".
I think it's because of how one needs to escape most characters in zsh ('.', '*', '?', ...), and those are used in counsel-locate when a regex is created, in addition to '(' and ')', which are escaped as far as I could see.
Might be overlooking something here, but wouldn't just enclose the regex between ' be enough?
The text was updated successfully, but these errors were encountered:
As per title, counsel-locate prints "Error" as soon as a regex is created. I.e. "abc" as input is fine, but not "abc abc".
I think it's because of how one needs to escape most characters in zsh ('.', '*', '?', ...), and those are used in counsel-locate when a regex is created, in addition to '(' and ')', which are escaped as far as I could see.
Might be overlooking something here, but wouldn't just enclose the regex between ' be enough?
The text was updated successfully, but these errors were encountered: