diff options
author | Craig Earls <enderw88@gmail.com> | 2014-01-13 14:55:48 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2014-01-13 14:55:48 -0700 |
commit | 0ed6b0f1c3270a2401c33a729dc967652e3effcd (patch) | |
tree | 1653138f8d8129770a7c475eb2615f1ccea816f0 /lisp/ledger-regex.el | |
parent | aec2c7af3fb05631573f3a7224232934005748be (diff) | |
download | fork-ledger-0ed6b0f1c3270a2401c33a729dc967652e3effcd.tar.gz fork-ledger-0ed6b0f1c3270a2401c33a729dc967652e3effcd.tar.bz2 fork-ledger-0ed6b0f1c3270a2401c33a729dc967652e3effcd.zip |
Fixed some formatting problems and fixed bug 1007 aligning decimal comma amounts with period thousand separators.
Diffstat (limited to 'lisp/ledger-regex.el')
-rw-r--r-- | lisp/ledger-regex.el | 2 |
1 files changed, 1 insertions, 1 deletions
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;]+?\\)?" |