summaryrefslogtreecommitdiff
path: root/lisp/ldg-regex.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ldg-regex.el')
-rw-r--r--lisp/ldg-regex.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ldg-regex.el b/lisp/ldg-regex.el
index c9e60e71..cdd06d39 100644
--- a/lisp/ldg-regex.el
+++ b/lisp/ldg-regex.el
@@ -45,6 +45,13 @@
(defconst ledger-comment-regex
"^[;#|\\*%].*\\|[ \t]+;.*")
+(defconst ledger-multiline-comment-start-regex
+ "^!comment$")
+(defconst ledger-multiline-comment-end-regex
+ "^!end_comment$")
+(defconst ledger-multiline-comment-regex
+ "^!comment\n\\(.*\n\\)*?!end_comment$")
+
(defconst ledger-payee-any-status-regex
"^[0-9]+[-/][-/.=0-9]+\\(\\s-+\\*\\)?\\(\\s-+(.*?)\\)?\\s-+\\(.+?\\)\\s-*\\(;\\|$\\)")