diff options
author | Craig Earls <enderw88@gmail.com> | 2015-11-04 19:19:07 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2015-11-04 19:19:07 -0700 |
commit | cb05126e18f4d2fa5aa18cdb5a6af03436962068 (patch) | |
tree | 2691f85ddd6c90c986a821bc646f5d0f582a7217 /lisp/ledger-context.el | |
parent | 1cf83c6f5f5d005fb143f34b32b86bb838cd9674 (diff) | |
parent | d38f8d3bff66e89cc79b1791566fdf9eca62a8e9 (diff) | |
download | fork-ledger-cb05126e18f4d2fa5aa18cdb5a6af03436962068.tar.gz fork-ledger-cb05126e18f4d2fa5aa18cdb5a6af03436962068.tar.bz2 fork-ledger-cb05126e18f4d2fa5aa18cdb5a6af03436962068.zip |
Merge commit 'd38f8d3bff66e89cc79b1791566fdf9eca62a8e9' into next
Diffstat (limited to 'lisp/ledger-context.el')
-rw-r--r-- | lisp/ledger-context.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ledger-context.el b/lisp/ledger-context.el index 643ebdd3..629d51a5 100644 --- a/lisp/ledger-context.el +++ b/lisp/ledger-context.el @@ -34,8 +34,8 @@ (defconst ledger-indent-string "\\(^[ \t]+\\)") (defconst ledger-status-string "\\(* \\|! \\)?") (defconst ledger-account-string "[\\[(]?\\(.*?\\)[])]?") -(defconst ledger-separator-string "\\s-\\s-+") -(defconst ledger-amount-string "\\(-?[0-9]+[\\.,][0-9]*\\)") +(defconst ledger-separator-string "\\(\\s-\\s-+\\)") +(defconst ledger-amount-string "\\(-?[0-9]+\\(?:[\\.,][0-9]*\\)?\\)") (defconst ledger-comment-string "[ \t]*;[ \t]*\\(.*?\\)") (defconst ledger-nil-string "\\([ \t]\\)") (defconst ledger-commodity-string "\\(.+?\\)") |