From 310532c0b0c4a80f089477e7cdd2fb99b20e7de1 Mon Sep 17 00:00:00 2001 From: Fanael Linithien Date: Sat, 22 Nov 2014 18:59:53 +0100 Subject: Remove unnecessary regexp group. --- misc/ninja-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/ninja-mode.el b/misc/ninja-mode.el index fd54b29..b475edb 100644 --- a/misc/ninja-mode.el +++ b/misc/ninja-mode.el @@ -28,8 +28,8 @@ . font-lock-keyword-face) ("\\([[:alnum:]_]+\\) =" . (1 font-lock-variable-name-face)) ;; Variable expansion. - ("\\($[[:alnum:]_]+\\)" . (1 font-lock-variable-name-face)) - ("\\(${[[:alnum:]._]+}\\)" . (1 font-lock-variable-name-face) + ("$[[:alnum:]_]+" . font-lock-variable-name-face) + ("${[[:alnum:]._]+}" . font-lock-variable-name-face) ;; Rule names ("rule +\\([[:alnum:]_.-]+\\)" . (1 font-lock-function-name-face)) ;; Build Statement - highlight the rule used, -- cgit v0.12