summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2015-04-05 09:36:26 -0700
committerCraig Earls <enderw88@gmail.com>2015-04-05 09:36:26 -0700
commit4aab1078aea6c92cccbad2b54b10904b0f7b2531 (patch)
tree9eb417808e6614ae54b41d2b856dabec23f8a0c9 /lisp
parentc7fa772310bacf57a185e47efb1c07c83b902a59 (diff)
parent47247ee9181f6caf41e0c42b6130700d52935c55 (diff)
downloadfork-ledger-4aab1078aea6c92cccbad2b54b10904b0f7b2531.tar.gz
fork-ledger-4aab1078aea6c92cccbad2b54b10904b0f7b2531.tar.bz2
fork-ledger-4aab1078aea6c92cccbad2b54b10904b0f7b2531.zip
Merge pull request #410 from thdox/bug-1108
Fix Bug 1108. Thanks.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ledger-context.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ledger-context.el b/lisp/ledger-context.el
index 0dfa4645..643ebdd3 100644
--- a/lisp/ledger-context.el
+++ b/lisp/ledger-context.el
@@ -32,9 +32,9 @@
;; `ledger-single-line-config' macro to form the regex and list of
;; elements
(defconst ledger-indent-string "\\(^[ \t]+\\)")
-(defconst ledger-status-string "\\([*! ]?\\)")
+(defconst ledger-status-string "\\(* \\|! \\)?")
(defconst ledger-account-string "[\\[(]?\\(.*?\\)[])]?")
-(defconst ledger-separator-string "\\s-\\s-")
+(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]\\)")