summaryrefslogtreecommitdiff
path: root/lisp/ldg-regex.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ldg-regex.el')
-rw-r--r--lisp/ldg-regex.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ldg-regex.el b/lisp/ldg-regex.el
index d1c5a52c..487a2449 100644
--- a/lisp/ldg-regex.el
+++ b/lisp/ldg-regex.el
@@ -325,7 +325,7 @@
(concat "\\(Y\\s-+\\([0-9]+\\)\\|" ;; Catches a Y directive
ledger-iso-date-regexp
"\\([ *!]+\\)" ;; mark
- "\\((.*)\\)" ;; code
+ "\\((.*)\\)?" ;; code
"\\(.*\\)" ;; desc
"\\)"))