Skip to content

Commit

Permalink
ops fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Jun 24, 2013
1 parent d1beb6b commit 2b4e1b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ exports.parse = function (s, env) {

function parse (s, env) {
var chunker = new RegExp([
'(' + BAREWORD + '|' + SINGLE_QUOTE + '|' + DOUBLE_QUOTE + ')*',
'(' + CONTROL + ')' // control chars
'(' + CONTROL + ')', // control chars
'(' + BAREWORD + '|' + SINGLE_QUOTE + '|' + DOUBLE_QUOTE + ')*'
].join('|'), 'g');
var match = s.match(chunker).filter(Boolean);

Expand Down

0 comments on commit 2b4e1b1

Please sign in to comment.