Skip to content

Commit

Permalink
nocase implies that the pattern is magical
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Feb 25, 2013
1 parent 172c1bc commit d5b4cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minimatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ function parse (pattern, isSub) {
if (pattern === "") return ""

var re = ""
, hasMagic = false
, hasMagic = !!options.nocase
, escaping = false
// ? => one single character
, patternListStack = []
Expand Down

0 comments on commit d5b4cd8

Please sign in to comment.