diff options
Diffstat (limited to 'lisp/ldg-regex.el')
-rw-r--r-- | lisp/ldg-regex.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ldg-regex.el b/lisp/ldg-regex.el index 487a2449..ab875579 100644 --- a/lisp/ldg-regex.el +++ b/lisp/ldg-regex.el @@ -70,6 +70,9 @@ (defconst ledger-account-any-status-regex "^[ \t]+\\([*!]\\s-+\\)?\\([[(]?.+?\\)\\(\t\\|\n\\| [ \t]\\)") +(defun ledger-account-any-status-with-seed-regex (seed) + (concat "^[ \t]+\\([*!]\\s-+\\)?\\([[(]?" seed ".+?\\)\\(\t\\|\n\\| [ \t]\\)")) + (defconst ledger-account-pending-regex "\\(^[ \t]+\\)\\(!\\s-*.*?\\)\\( \\|\t\\|$\\)") |