diff --git a/lib/util.js b/lib/util.js index b852d6a4..b6ab1ec4 100644 --- a/lib/util.js +++ b/lib/util.js @@ -44,7 +44,7 @@ exts: ext }); - regExp = new RegExp(regStr); + regExp = new RegExp(regStr, 'i'); isMatch = name.match(regExp); break;