Skip to content

Commit

Permalink
lib: turn off greedy matching
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Oct 17, 2014
1 parent 57f598a commit 29cf736
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 @@ -24,7 +24,7 @@ exports.parse = function parse(source) {

// Instruction
match = line.match(
/^\s*(?:(@)?([\w\d\/\-\.]+)\s*=\s*)?([\w\d\/\-\.]+)(?:\s+([^#]+))?(?:\s*#\s*([\w\d\/\-\.]+))?\s*$/
/^\s*(?:(@)?([\w\d\/\-\.]+)\s*=\s*)?([\w\d\/\-\.]+)(?:\s+([^#]+?))?(?:\s*#\s*([\w\d\/\-\.]+))?\s*$/
);
if (match === null)
return;
Expand Down

0 comments on commit 29cf736

Please sign in to comment.