1
0
Fork 0

Ignore == if followed by \

Ignore the space before == rule if immediately followed by a \. If it is imediatly followed by a \, then this is likely the base64 padding at the end of a certificate, which is followed by \n.
This commit is contained in:
worktycho 2015-12-22 16:00:17 +00:00 committed by tycho
parent d112632d6a
commit ecb94e0dc6
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ local g_ViolationPatterns =
-- Check spaces around "==", "<=" and ">=":
{"==[a-zA-Z0-9]+", "Add space after =="},
{"[a-zA-Z0-9]+==", "Add space before =="},
{"[a-zA-Z0-9]+==[^\\]", "Add space before =="},
{"<=[a-zA-Z0-9]+", "Add space after <="},
{"[a-zA-Z0-9]+<=", "Add space before <="},
{">=[a-zA-Z0-9]+", "Add space after >="},