为什么 consult-line 不支持 regex `$` (end of line)?

如题, 我发现 consult-line 不支持 regex 中的 $ metachar. 举个例子, 本来有一行的确是以 duration 结尾的.

加上 $ 以后, 什么结果也没有了. 这是为什么呢? image

如果你同时在使用 orderless 的话可以看一下这个解决方案

3 个赞