diff options
| author | jao <jao@gnu.org> | 2022-07-31 02:06:07 +0100 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2022-07-31 02:06:07 +0100 |
| commit | 6ea952cd4cbbfb9276325adbf05d6e050d225d51 (patch) | |
| tree | a283e3df8fe41d5d72fe7a5bc5df59fb1e82c91f | |
| parent | 204a936c5b29334a3b40042ff5047f5790a7c136 (diff) | |
back to the previous regexp, it's more precise in the common case
| -rw-r--r-- | consult-recoll.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/consult-recoll.el b/consult-recoll.el index 93b3ead..9acbd1e 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) |
