Simplify regexp.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 19 Dec 2011 22:59:20 +0200
changeset 321 f3927b9e4b02
parent 320 4272023569f3
child 322 aadaac23117a
Simplify regexp.
obsolete/dict-c5-mode.el
--- a/obsolete/dict-c5-mode.el	Sun Sep 04 23:09:38 2011 +0300
+++ b/obsolete/dict-c5-mode.el	Mon Dec 19 22:59:20 2011 +0200
@@ -27,11 +27,9 @@
   nil
   nil
   '(
-    ("^\\(_____+\\)
-
-\\([^[:blank:]][^
-]*\\)$" (1 font-lock-function-name-face) (2 font-lock-keyword-face))
-    ("^[[:blank:]]*\\(\\[[^]]*]\\)[[:space:]]" (1 font-lock-type-face))
+    ("^\\(_\\{5,\\}\\)\n\n\\([^[:blank:]][^\n]*\\)$"
+     (1 font-lock-function-name-face) (2 font-lock-keyword-face))
+    ("\\[[^]]+]" . font-lock-type-face)
     )
   '("\\.dict-c5$")
   nil