# HG changeset patch # User Oleksandr Gavenko # Date 1324499757 -7200 # Node ID 477a850bf7eecef49a7add481a5b48d7ad64f724 # Parent 626114dd8100c536905823829d7736d460e091a5 Simplify regex. diff -r 626114dd8100 -r 477a850bf7ee dict-mode.el --- a/dict-mode.el Wed Dec 21 22:35:21 2011 +0200 +++ b/dict-mode.el Wed Dec 21 22:35:57 2011 +0200 @@ -22,7 +22,7 @@ (defvar dict-c5-font-lock-keywords ;; (setq dict-c5-font-lock-keywords '( - ("^\\(_\\{5,\\}\\)\n\n\\(\\w[^\n]*\\)$" + ("^\\(_\\{5,\\}\\)\n\n\\(\\w.*\\)$" (1 font-lock-function-name-face) (2 font-lock-keyword-face)) ("\\[[^]]+]" . font-lock-type-face) ))