Stop account regexes matching comments

This commit is contained in:
George Kettleborough 2013-04-11 10:50:18 +01:00
parent 15e84cbb18
commit 90d2750988

View file

@ -61,13 +61,13 @@
"^--.+?\\($\\|[ ]\\)")
(defconst ledger-account-any-status-regex
"^[ \t]+\\([*!]\\s-+\\)?\\([[(]?.+?\\)\\(\t\\|\n\\| [ \t]\\)")
"^[ \t]+\\([*!]\\s-*\\)?\\([^ ;].*?\\)\\( \\|$\\)")
(defconst ledger-account-pending-regex
"\\(^[ \t]+\\)\\(!.+?\\)\\( \\|$\\)")
"\\(^[ \t]+\\)\\(!\\s-*.*?\\)\\( \\|$\\)")
(defconst ledger-account-cleared-regex
"\\(^[ \t]+\\)\\(\\*.+?\\)\\( \\|$\\)")
"\\(^[ \t]+\\)\\(*\\s-*.*?\\)\\( \\|$\\)")