diff --git a/index.js b/index.js index 92464dd..08afc20 100644 --- a/index.js +++ b/index.js @@ -13,7 +13,7 @@ exports.quote = function (xs) { }; exports.parse = function parse (s, env) { - var chunker = /(['"])((\\\1|[^\1])*?)\1|(\\[ &|]|[^\s&|])+|([&|])/g; + var chunker = /(['"])((\\\1|[^\1])*?)\1|(\\[ \t&|]|[^\s&|])+|([&|])/g; var match = s.match(chunker); if (!match) return []; if (!env) env = {};