diff options
author | Craig Earls <enderw88@gmail.com> | 2011-11-21 08:57:20 -0700 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-10 09:36:36 -1000 |
commit | 8c0f6cb9e9d9fb36f29c797e7dc4ab2319fa7ef1 (patch) | |
tree | 99a3eec62b100485a367a0b037a343091af6f49d /lisp | |
parent | a3fb26559b7b3aea1de376a11a28bb4140c9a940 (diff) | |
download | ledger-8c0f6cb9e9d9fb36f29c797e7dc4ab2319fa7ef1.tar.gz ledger-8c0f6cb9e9d9fb36f29c797e7dc4ab2319fa7ef1.tar.bz2 ledger-8c0f6cb9e9d9fb36f29c797e7dc4ab2319fa7ef1.zip |
Fixed font-lock REGEX to allow account names with spaces
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ledger.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ledger.el b/lisp/ledger.el index a1fdd9c9..5c2465d6 100644 --- a/lisp/ledger.el +++ b/lisp/ledger.el @@ -132,7 +132,7 @@ text that should replace the format specifier." ("^[0-9]+[-/.=][-/.=0-9]+\\s-+\\(([^)]+)\\s-+\\)?\\([^*].+?\\)\\(\\( ;\\| ;\\|$\\)\\)" 2 bold) ;;("^[0-9]+[-/.=][-/.=0-9]+\\s-+\\(([^)]+)\\s-+\\)?\\([*].+?\\)\\(\\( ;\\| ;\\|$\\)\\)" ;; 2 font-lock-type-face) - ("^\\s-+\\([*]\\s-*\\)?\\(\\([[(]\\)?\\([A-Za-z]\\|\\s-\\)+?:[^]); + ("^\\s-+\\([*]\\s-*\\)?\\(\\([[(]\\)?\\([^*;]\\)+?\\(:\\|\\s-\\)[^]); ]+?\\([])]\\)?\\)\\( \\| \\|$\\)" 2 font-lock-keyword-face) ("^\\([~=].+\\)" 1 font-lock-function-name-face) |