summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-04-04 12:35:20 -0700
committerCraig Earls <enderw88@gmail.com>2013-04-04 12:35:20 -0700
commit2e78e61be7ba6aa73c56c157405e45ed30990b31 (patch)
tree06d910ac505d94f0107a861b50df497bb4e86545 /lisp
parent650361a6d388c98074b9d30f91361ce8cb06a65d (diff)
downloadfork-ledger-2e78e61be7ba6aa73c56c157405e45ed30990b31.tar.gz
fork-ledger-2e78e61be7ba6aa73c56c157405e45ed30990b31.tar.bz2
fork-ledger-2e78e61be7ba6aa73c56c157405e45ed30990b31.zip
Regex Cleanup
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ldg-reconcile.el3
-rw-r--r--lisp/ldg-regex.el2
2 files changed, 2 insertions, 3 deletions
diff --git a/lisp/ldg-reconcile.el b/lisp/ldg-reconcile.el
index ccf733b7..ff808485 100644
--- a/lisp/ldg-reconcile.el
+++ b/lisp/ldg-reconcile.el
@@ -227,8 +227,7 @@ Return the number of uncleared xacts found."
(set-buffer-modified-p nil)
(ledger-display-balance)
(goto-char curpoint)
- ;; (ledger-reconcile-visit t)
- )))
+ (ledger-reconcile-visit t))))
(defun ledger-reconcile-finish ()
"Mark all pending posting or transactions as cleared.
diff --git a/lisp/ldg-regex.el b/lisp/ldg-regex.el
index 95da77e2..1b338012 100644
--- a/lisp/ldg-regex.el
+++ b/lisp/ldg-regex.el
@@ -54,7 +54,7 @@
"^--.+?\\($\\|[ ]\\)")
(defconst ledger-account-any-status-regex
- "^[ \t]+\\([*!]\\s-+\\)?[[(]?\\(.+?\\)\\(\t\\|\n\\| [ \t]\\)")
+ "^[ \t]+\\([*!]\\s-+\\)?\\([[(]?.+?\\)\\(\t\\|\n\\| [ \t]\\)")
(defconst ledger-account-pending-regex
"\\(^[ \t]+\\)\\(!.+?\\)\\( \\|$\\)")