diff options
author | Craig Earls <enderw88@gmail.com> | 2013-02-27 10:07:03 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2013-02-27 10:07:03 -0700 |
commit | 1e3c795935dc5c938b78fc367ee19e1a259b0fb3 (patch) | |
tree | a382d04c8edb2444dbb56b7d377c83027180bedd /lisp/ldg-regex.el | |
parent | 54f50a7690368aaa6d3fd2bd685484b1552aefcd (diff) | |
download | fork-ledger-1e3c795935dc5c938b78fc367ee19e1a259b0fb3.tar.gz fork-ledger-1e3c795935dc5c938b78fc367ee19e1a259b0fb3.tar.bz2 fork-ledger-1e3c795935dc5c938b78fc367ee19e1a259b0fb3.zip |
Update date regex to handles dashes and slashes
Diffstat (limited to 'lisp/ldg-regex.el')
-rw-r--r-- | lisp/ldg-regex.el | 2 |
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 |