diff options
author | George Kettleborough <g.kettleborough@member.fsf.org> | 2013-04-11 10:50:38 +0100 |
---|---|---|
committer | George Kettleborough <g.kettleborough@member.fsf.org> | 2013-04-11 10:50:38 +0100 |
commit | 6396fe2bd78d63cee3caaeb45fdd4daddb68d88f (patch) | |
tree | b71e9e4bb8166eaaac455a21f21c3b1dad57ce10 /lisp/ldg-regex.el | |
parent | 90d275098899c30b14a812452bbf068cadd1d4ad (diff) | |
download | fork-ledger-6396fe2bd78d63cee3caaeb45fdd4daddb68d88f.tar.gz fork-ledger-6396fe2bd78d63cee3caaeb45fdd4daddb68d88f.tar.bz2 fork-ledger-6396fe2bd78d63cee3caaeb45fdd4daddb68d88f.zip |
Fix comment regex to include all line comment types
Diffstat (limited to 'lisp/ldg-regex.el')
-rw-r--r-- | lisp/ldg-regex.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ldg-regex.el b/lisp/ldg-regex.el index c17582eb..8e843ae5 100644 --- a/lisp/ldg-regex.el +++ b/lisp/ldg-regex.el @@ -43,7 +43,7 @@ "\\(^[~=A-Za-z].+\\)+") (defconst ledger-comment-regex - "\\( \\| \\|^\\)\\(;.*\\)") + "^[;#|\\*%].*\\|[ \t]+;.*") (defconst ledger-payee-any-status-regex "^[0-9/.=-]+\\(\\s-+\\*\\)?\\(\\s-+(.*?)\\)?\\s-+\\(.+?\\)\\(\t\\|\n\\| [ \t]\\)") |