updated: [master] [e281ca2] Fixed regular expressions in Syntax file.

1 view
Skip to first unread message

Andrew Borodin

unread,
Apr 29, 2012, 9:36:16 AM4/29/12
to mc-co...@googlegroups.com
The following commit has been merged in the master branch:
commit e281ca2890c2af1107205d05c9ebcebe9fec21fd
Author: Andrew Borodin <abor...@vmail.ru>
Date: Sun Apr 29 17:34:04 2012 +0400

Fixed regular expressions in Syntax file.

Signed-off-by: Andrew Borodin <abor...@vmail.ru>

diff --git a/misc/syntax/Syntax b/misc/syntax/Syntax
index ef7de50..4ef9fa4 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

--
Midnight Commander Development
Reply all
Reply to author
Forward
0 new messages