summaryrefslogtreecommitdiff
path: root/lisp/ldg-regex.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-05-14 09:49:27 -0700
committerCraig Earls <enderw88@gmail.com>2013-05-14 09:49:27 -0700
commit47142e5846ab4bdaa5d7b3d89a5be411af9dd22f (patch)
tree97e7dabe555a493498be87dad8792db1846d8e71 /lisp/ldg-regex.el
parenta7097c9e4113f79f95b34936b735f2cec5263115 (diff)
downloadfork-ledger-47142e5846ab4bdaa5d7b3d89a5be411af9dd22f.tar.gz
fork-ledger-47142e5846ab4bdaa5d7b3d89a5be411af9dd22f.tar.bz2
fork-ledger-47142e5846ab4bdaa5d7b3d89a5be411af9dd22f.zip
Fix ledger-find-slot so that it doesn't require transaction codes
Diffstat (limited to 'lisp/ldg-regex.el')
-rw-r--r--lisp/ldg-regex.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ldg-regex.el b/lisp/ldg-regex.el
index d1c5a52c..487a2449 100644
--- a/lisp/ldg-regex.el
+++ b/lisp/ldg-regex.el
@@ -325,7 +325,7 @@
(concat "\\(Y\\s-+\\([0-9]+\\)\\|" ;; Catches a Y directive
ledger-iso-date-regexp
"\\([ *!]+\\)" ;; mark
- "\\((.*)\\)" ;; code
+ "\\((.*)\\)?" ;; code
"\\(.*\\)" ;; desc
"\\)"))