diff options
author | 4ourbit <4ourbit@gmail.com> | 2014-01-01 21:57:59 +0100 |
---|---|---|
committer | 4ourbit <4ourbit@gmail.com> | 2014-01-01 22:00:26 +0100 |
commit | e00ed8c77039eb3bee1c4ad70a4c3adb5eb922c9 (patch) | |
tree | acc405b9370387e21c4a97c3e74776dda8cdcb39 /lisp | |
parent | 316b1b7cfefbc3d65994f518df39545ef74f6879 (diff) | |
download | fork-ledger-e00ed8c77039eb3bee1c4ad70a4c3adb5eb922c9.tar.gz fork-ledger-e00ed8c77039eb3bee1c4ad70a4c3adb5eb922c9.tar.bz2 fork-ledger-e00ed8c77039eb3bee1c4ad70a4c3adb5eb922c9.zip |
Fix for pcomplete Metadata rule.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ledger-regex.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/ledger-regex.el b/lisp/ledger-regex.el index 06564a4a..cf10895a 100644 --- a/lisp/ledger-regex.el +++ b/lisp/ledger-regex.el @@ -79,6 +79,8 @@ (defconst ledger-account-cleared-regex "\\(^[ \t]+\\)\\(*\\s-*.*?\\)\\( \\|\t\\|$\\)") +(defconst ledger-metadata-regex + "[ \t]+\\(?2:;[ \t]+.+\\)$") (defmacro ledger-define-regexp (name regex docs &rest args) "Simplify the creation of a Ledger regex and helper functions." |