branch: externals/consult-recoll
commit 6ea952cd4cbbfb9276325adbf05d6e050d225d51
Author: jao <j...@gnu.org>
Commit: jao <j...@gnu.org>

    back to the previous regexp, it's more precise in the common case
---
 consult-recoll.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consult-recoll.el b/consult-recoll.el
index 93b3eadc72..9acbd1eecc 100644
--- a/consult-recoll.el
+++ b/consult-recoll.el
@@ -86,7 +86,7 @@ Set to nil to use the default 'title (path)' format."
   (setq consult-recoll--current text)
   `("recollq" ,@consult-recoll-search-flags ,text))
 
-(defconst consult-recoll--line-rx "^\\(.*?\\)\t\\[\\(.*?\\)\\]\t\\[\\(.*\\)\\]"
+(defconst consult-recoll--line-rx 
"^\\([^[]+\\)\t\\[\\([^]]+\\)\\]\t\\[\\([^[]+\\)\\]"
   "Regular expression decomposing result lines returned by recollq")
 
 (defun consult-recoll--transformer (str)

Reply via email to