From e00ed8c77039eb3bee1c4ad70a4c3adb5eb922c9 Mon Sep 17 00:00:00 2001 From: 4ourbit <4ourbit@gmail.com> Date: Wed, 1 Jan 2014 21:57:59 +0100 Subject: Fix for pcomplete Metadata rule. --- lisp/ledger-regex.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lisp/ledger-regex.el') 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." -- cgit v1.2.3