From e281ca2890c2af1107205d05c9ebcebe9fec21fd Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sun, 29 Apr 2012 17:34:04 +0400 Subject: [PATCH] Fixed regular expressions in Syntax file. Signed-off-by: Andrew Borodin --- misc/syntax/Syntax | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/misc/syntax/Syntax b/misc/syntax/Syntax index ef7de50dd..4ef9fa496 100644 --- a/misc/syntax/Syntax +++ b/misc/syntax/Syntax @@ -82,13 +82,13 @@ include slang.syntax file ..\*\\.tex$ LaTeX\s2.09\sDocument include latex.syntax -file ..\*\.(texi|texinfo|TEXI|TEXINFO)$ Texinfo\sDocument +file ..\*\\.(texi|texinfo|TEXI|TEXINFO)$ Texinfo\sDocument include texinfo.syntax file ..\*\\.c$ C\sProgram include c.syntax -file ..\*\\.([hC]|CC|cxx|cc|cpp|CPP|CXX|hxx|hh|hpp|HPP|h\.in)$ C/C\+\+\sProgram +file ..\*\\.([hC]|CC|cxx|cc|cpp|CPP|CXX|hxx|hh|hpp|HPP|h\\.in)$ C/C\+\+\sProgram include cxx.syntax file ..\*\\.d$ D\sProgram @@ -142,7 +142,7 @@ include octave.syntax file ..\*\\.(sql|SQL)$ SQL\sProgram include sql.syntax -file ..\*\\.(spec|spec\.in)$ RPM\sSpecfile +file ..\*\\.(spec|spec\\.in)$ RPM\sSpecfile include spec.syntax file ..\*\\.repo$ YUM\sRepo\sFile @@ -187,7 +187,7 @@ include ini.syntax file Don_t_match_me Mail\sfolder ^(From|Return-(P|p)ath:|From:|Date:)\s include mail.syntax -file \.procmailrc$ Procmail\sRC\sFile ^#/usr/bin/procmail +file \\.procmailrc$ Procmail\sRC\sFile ^#/usr/bin/procmail include procmail.syntax file sources.list$ sources\slist