# HG changeset patch # User Oleksandr Gavenko # Date 1324328360 -7200 # Node ID 5ddabbad047d6cae24500188353ba4904825ee1f # Parent 2adc2d3542a49829e087a949c9a4fb34a8d7de2f Simplify regexp. diff -r 2adc2d3542a4 -r 5ddabbad047d dict-mode.el --- a/dict-mode.el Thu Dec 15 22:16:25 2011 +0200 +++ b/dict-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