From 0ed6b0f1c3270a2401c33a729dc967652e3effcd Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Mon, 13 Jan 2014 14:55:48 -0700 Subject: Fixed some formatting problems and fixed bug 1007 aligning decimal comma amounts with period thousand separators. --- lisp/ledger-regex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/ledger-regex.el') diff --git a/lisp/ledger-regex.el b/lisp/ledger-regex.el index 06564a4a..481356ca 100644 --- a/lisp/ledger-regex.el +++ b/lisp/ledger-regex.el @@ -27,7 +27,7 @@ (defconst ledger-amount-regex (concat "\\( \\|\t\\| \t\\)[ \t]*-?" "\\([A-Z$€£_]+ *\\)?" - "\\(-?[0-9,]+?\\)" + "\\(-?[0-9,\\.]+?\\)" "\\(.[0-9]+\\)?" "\\( *[[:word:]€£_\"]+\\)?" "\\([ \t]*[@={]@?[^\n;]+?\\)?" -- cgit v1.2.3