diff --git a/read.go b/read.go index 112ee28b..80d32e63 100644 --- a/read.go +++ b/read.go @@ -28,7 +28,7 @@ const ( // TODO: add CTL to atomSpecials var ( - quotedSpecials = string([]rune{dquote, '\\'}) + quotedSpecials = string([]rune{dquote, '\\', listStart, listEnd}) respSpecials = string([]rune{respCodeEnd}) atomSpecials = string([]rune{listStart, listEnd, literalStart, sp, '%', '*'}) + quotedSpecials + respSpecials )