Simplify regex.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 21 Dec 2011 22:35:57 +0200
changeset 854 477a850bf7ee
parent 853 626114dd8100
child 855 2df420cd2fcf
Simplify regex.
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)
         ))