summaryrefslogtreecommitdiff
path: root/lisp/ldg-regex.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-02-27 10:07:59 -0700
committerCraig Earls <enderw88@gmail.com>2013-02-27 10:07:59 -0700
commit3db3d23765f9e48e52ce0c7f322f6031588d5d2f (patch)
tree891dada8833bda71452b0838da6c907f969fbc7d /lisp/ldg-regex.el
parente5dd5344efca4851412eb21076b5715ffe99f212 (diff)
parent1e3c795935dc5c938b78fc367ee19e1a259b0fb3 (diff)
downloadfork-ledger-3db3d23765f9e48e52ce0c7f322f6031588d5d2f.tar.gz
fork-ledger-3db3d23765f9e48e52ce0c7f322f6031588d5d2f.tar.bz2
fork-ledger-3db3d23765f9e48e52ce0c7f322f6031588d5d2f.zip
Merge branch 'next' into ledger-mode-documentation
Diffstat (limited to 'lisp/ldg-regex.el')
-rw-r--r--lisp/ldg-regex.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/ldg-regex.el b/lisp/ldg-regex.el
index 680063f7..e81394ef 100644
--- a/lisp/ldg-regex.el
+++ b/lisp/ldg-regex.el
@@ -24,6 +24,8 @@
(eval-when-compile
(require 'cl))
+(defvar ledger-date-regex "\\([0-9]+\\)[/-]\\([0-9]+\\)[/-]\\([0-9]+\\)")
+
(defmacro ledger-define-regexp (name regex docs &rest args)
"Simplify the creation of a Ledger regex and helper functions."
(let ((defs