Skip to content

Commit

Permalink
double-char op test now passing
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed May 13, 2013
1 parent e51fa90 commit 3998b0f
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 @@ -41,7 +41,7 @@ exports.parse = function parse (s, env) {
.replace(/\\([ "'\\$`(){}!#&*|])/g, '$1')
;
}
else if (RegExp('^[' + META + ']$').test(s)) {
else if (RegExp('^' + CONTROL + '$').test(s)) {
return { op: s };
}
else return s.replace(
Expand Down

0 comments on commit 3998b0f

Please sign in to comment.