[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/beancount 7b437abcf0: Fix beancount-transaction-regexp not
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/beancount 7b437abcf0: Fix beancount-transaction-regexp not recognizing 'txn' directive |
Date: |
Fri, 2 Aug 2024 00:59:13 -0400 (EDT) |
branch: elpa/beancount
commit 7b437abcf00f68d1c6ff032e118af09fcd6486a5
Author: TRSx80 <github.trs-80@isnotmyreal.name>
Commit: Martin Blais <blais@furius.ca>
Fix beancount-transaction-regexp not recognizing 'txn' directive
The docs say 'txn' OR flag. Also, 'beancount-flag-regexp' is a single
character, thus does not need a shy group enclosing it.
---
beancount.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/beancount.el b/beancount.el
index 597aa0a8d4..969e6cc8a3 100644
--- a/beancount.el
+++ b/beancount.el
@@ -238,8 +238,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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/beancount 7b437abcf0: Fix beancount-transaction-regexp not recognizing 'txn' directive,
ELPA Syncer <=