fix(beancount): link completion

Due to not escaping the literal ^ in the regexp.

Fix: #8414
Amend: d3e8ca8d9d
This commit is contained in:
Henrik Lissner
2025-06-09 17:59:40 +02:00
parent ed860b2b06
commit 7280e44dc5

View File

@ -191,7 +191,7 @@ will theirs, recursively)."
(<= pos (match-end 1))))
(list (match-beginning 1) (match-end 1)
(+beancount-completion-table
(concat " \\(" (match-string-no-properties 2) "[" beancount-tag-chars "]+\\)")
(concat " \\(" (regexp-quote (match-string-no-properties 2)) "[" beancount-tag-chars "]+\\)")
1 (if (equal (match-string-no-properties 2) "#") 'tags 'links))))
((progn