branch: elpa/beancount commit eb8b9b72a750b8d5db97dec909298162ae798e33 Author: TRSx80 <github.trs...@isnotmyreal.name> Commit: Martin Blais <bl...@furius.ca>
Remove unnecessary '+' after 'txn' in beancount-transaction-regexp This is in response to dnicolodi comment on my last PR (56) back on 2024-08-05 (which I did not notice until now, apologies). I tested locally several variations by putting point on a txn and executing (looking-at beancount-transaction-regexp). --- beancount.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beancount.el b/beancount.el index 15758e5d0d..34ceed0025 100644 --- a/beancount.el +++ b/beancount.el @@ -239,7 +239,7 @@ _not_ followed by an account.") (defconst beancount-transaction-regexp (concat "^\\(" beancount-date-regexp "\\) +" - "\\(\\(?:txn+\\)\\|" beancount-flag-regexp "\\) +" + "\\(\\(?:txn\\)\\|" beancount-flag-regexp "\\) +" "\\(\".*\"\\)")) (defconst beancount-posting-regexp