branch: elpa/beancount commit 83cd9330e309c214ed11306256fc375bc38d9571 Author: 康小广 <kenkangx...@gmail.com> Commit: 康小广 <kenkangx...@gmail.com>
beancount.el: Include underscore and dash to metadata regexp. --- beancount.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beancount.el b/beancount.el index be2f587405..ed2e0c5fe6 100644 --- a/beancount.el +++ b/beancount.el @@ -226,7 +226,7 @@ to align all amounts." "\\(" (regexp-opt beancount-timestamped-directive-names) "\\) +")) (defconst beancount-metadata-regexp - "^\\s-+\\([a-z][A-Za-z0-9]+:\\)\\s-+\\(.+\\)") + "^\\s-+\\([a-z][A-Za-z0-9_-]+:\\)\\s-+\\(.+\\)") (defvar beancount-outline-regexp "\\(;;;+\\|\\*+\\)")