summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-09-28 19:48:55 -0700
committerCraig Earls <enderw88@gmail.com>2014-09-28 19:48:55 -0700
commita28c32b081802c375df036e06bd529c81ae8ae27 (patch)
tree4099b6bb896f9f9da220e3ea6b3d90838416f9f3 /lisp
parent59613845e7120cb067592faf257d618965bf43f9 (diff)
downloadfork-ledger-a28c32b081802c375df036e06bd529c81ae8ae27.tar.gz
fork-ledger-a28c32b081802c375df036e06bd529c81ae8ae27.tar.bz2
fork-ledger-a28c32b081802c375df036e06bd529c81ae8ae27.zip
Allow any printable character in account names.
Diffstat (limited to 'lisp')
-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 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
))