Fixed some formatting problems and fixed bug 1007 aligning decimal comma amounts with period thousand separators.

This commit is contained in:
Craig Earls 2014-01-13 14:55:48 -07:00
parent aec2c7af3f
commit 0ed6b0f1c3
2 changed files with 63 additions and 63 deletions

View file

@ -27,7 +27,7 @@
(defconst ledger-amount-regex (defconst ledger-amount-regex
(concat "\\( \\|\t\\| \t\\)[ \t]*-?" (concat "\\( \\|\t\\| \t\\)[ \t]*-?"
"\\([A-Z$€£_]+ *\\)?" "\\([A-Z$€£_]+ *\\)?"
"\\(-?[0-9,]+?\\)" "\\(-?[0-9,\\.]+?\\)"
"\\(.[0-9]+\\)?" "\\(.[0-9]+\\)?"
"\\( *[[:word:]€£_\"]+\\)?" "\\( *[[:word:]€£_\"]+\\)?"
"\\([ \t]*[@={]@?[^\n;]+?\\)?" "\\([ \t]*[@={]@?[^\n;]+?\\)?"