From a28c32b081802c375df036e06bd529c81ae8ae27 Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Sun, 28 Sep 2014 19:48:55 -0700 Subject: Allow any printable character in account names. --- lisp/ledger-regex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/ledger-regex.el b/lisp/ledger-regex.el index e80289f0..238cfc66 100644 --- a/lisp/ledger-regex.el +++ b/lisp/ledger-regex.el @@ -343,7 +343,7 @@ (defconst ledger-posting-regex (concat "^[ \t]+ ?" ;; initial white space "\\([*!]\\)? ?" ;; state, subexpr 1 - "\\([[:word:]: ]+?\\(\n\\|[ \t][ \t]\\)\\)" ;; account, subexpr 2 + "\\(.+?\\(\n\\|[ \t][ \t]\\)\\)" ;; account, subexpr 2 "\\([^;\n]*\\)" ;; amount, subexpr 4 "\\(.*\\)" ;; comment, subexpr 5 )) -- cgit v1.2.3