Fix for pcomplete Metadata rule.
This commit is contained in:
parent
316b1b7cfe
commit
e00ed8c770
1 changed files with 2 additions and 0 deletions
|
|
@ -79,6 +79,8 @@
|
||||||
(defconst ledger-account-cleared-regex
|
(defconst ledger-account-cleared-regex
|
||||||
"\\(^[ \t]+\\)\\(*\\s-*.*?\\)\\( \\|\t\\|$\\)")
|
"\\(^[ \t]+\\)\\(*\\s-*.*?\\)\\( \\|\t\\|$\\)")
|
||||||
|
|
||||||
|
(defconst ledger-metadata-regex
|
||||||
|
"[ \t]+\\(?2:;[ \t]+.+\\)$")
|
||||||
|
|
||||||
(defmacro ledger-define-regexp (name regex docs &rest args)
|
(defmacro ledger-define-regexp (name regex docs &rest args)
|
||||||
"Simplify the creation of a Ledger regex and helper functions."
|
"Simplify the creation of a Ledger regex and helper functions."
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue