From 6974497f459727017926d1440494d45458766a1b Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Tue, 23 Jul 2013 21:35:00 -0700 Subject: [PATCH] Don't warn for \. (regex) and \, (printf "%q" output) --- ShellCheck/Parser.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShellCheck/Parser.hs b/ShellCheck/Parser.hs index 930a73f..718d8b9 100644 --- a/ShellCheck/Parser.hs +++ b/ShellCheck/Parser.hs @@ -768,7 +768,7 @@ readNormalEscaped = called "escaped char" $ do pos <- getPosition backslash do - next <- (quotable <|> oneOf "?*@!+[]{}") + next <- (quotable <|> oneOf "?*@!+[]{}.,") return $ if next == '\n' then "" else [next] <|> do