From b56b399238192b40b415df83e15243b5375cd13f Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Sun, 23 Mar 2014 20:43:14 -0700 Subject: [PATCH] pkg/dockerscript: is not a special character Docker-DCO-1.1-Signed-off-by: Solomon Hykes (github: shykes) --- dockerscript/scanner/extra.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerscript/scanner/extra.go b/dockerscript/scanner/extra.go index 0b0ba1a..63302dc 100644 --- a/dockerscript/scanner/extra.go +++ b/dockerscript/scanner/extra.go @@ -14,7 +14,7 @@ func detectIdent(ch rune) bool { if unicode.IsDigit(ch) { return true } - if strings.ContainsRune("_:/+-@%^.", ch) { + if strings.ContainsRune("_:/+-@%^.!", ch) { return true } return false