diff options
author | Craig Earls <enderw88@gmail.com> | 2013-04-13 21:55:06 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2013-04-13 21:55:06 -0700 |
commit | 971bcf22f4282ef9813a9fe9bb4966e03d50c48c (patch) | |
tree | e3175acf97eaa5f52e85d41f85464a3edfce079b /lisp/ldg-regex.el | |
parent | b2c88149cb09387023b28f5af0a9ad1640a0c9c3 (diff) | |
download | ledger-971bcf22f4282ef9813a9fe9bb4966e03d50c48c.tar.gz ledger-971bcf22f4282ef9813a9fe9bb4966e03d50c48c.tar.bz2 ledger-971bcf22f4282ef9813a9fe9bb4966e03d50c48c.zip |
Bug 951, handle thousand separators.
Rewrote handling for decimal comma to be much simpler. Why can't I see the simple way first?
Diffstat (limited to 'lisp/ldg-regex.el')
-rw-r--r-- | lisp/ldg-regex.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ldg-regex.el b/lisp/ldg-regex.el index 83bc2197..736fd811 100644 --- a/lisp/ldg-regex.el +++ b/lisp/ldg-regex.el @@ -37,7 +37,7 @@ "-?[1-9][0-9.]*[,]?[0-9]*") (defconst ledger-amount-decimal-period-regex - "-?[1-9][0-9.]*[.]?[0-9]*") + "-?[1-9][0-9,]*[.]?[0-9]*") (defconst ledger-other-entries-regex "\\(^[~=A-Za-z].+\\)+") |