From 69f4043d3a73823f8bdb9d3f752a2b314a629146 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Fri, 21 Mar 2014 19:21:53 -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 72291c8..0b0ba1a 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