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