Skip to content

Commit

Permalink
using the meta chars directly from the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed May 13, 2013
1 parent 0331c7f commit b009ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var META = '[|&;()<> \\t]';
exports.parse = function parse (s, env) {
var chunker = new RegExp(
'([\'"])((\\\\\\1|[^\\1])*?)\\1'
+ '|(\\\\[|&;()<> \\t]|[^\\s&|])+'
+ '|(\\\\' + META + '|[^\\s&|])+'
+ '|([&|])',
'g'
);
Expand Down

0 comments on commit b009ef6

Please sign in to comment.