Don't warn about sed '$s/foo/bar/'
This commit is contained in:
parent
d0bad6c057
commit
6ad3f557fe
|
@ -939,7 +939,7 @@ checkSingleQuotedVariables params t@(T_SingleQuoted id s) =
|
|||
otherwise -> False
|
||||
|
||||
re = mkRegex "\\$[{(0-9a-zA-Z_]"
|
||||
sedContra = mkRegex "\\$[dp]($|[^a-zA-Z])"
|
||||
sedContra = mkRegex "\\$[dpsaic]($|[^a-zA-Z])"
|
||||
checkSingleQuotedVariables _ _ = return ()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue