summaryrefslogtreecommitdiff
path: root/lisp/ledger-regex.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ledger-regex.el')
-rw-r--r--lisp/ledger-regex.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ledger-regex.el b/lisp/ledger-regex.el
index bc7e926b..460b50ce 100644
--- a/lisp/ledger-regex.el
+++ b/lisp/ledger-regex.el
@@ -336,7 +336,7 @@
(concat ledger-iso-date-regexp ;; subexp 1
" ?\\([ *!]\\)" ;; mark, subexp 5
" ?\\((.*)\\)?" ;; code, subexp 6
- " ?\\([[:word:] ]+\\)" ;; desc, subexp 7
+ " ?\\([^;\n]+\\)" ;; desc, subexp 7
"\\(\n\\|;.*\\)" ;; comment, subexp 8
))