Index: lib/common.js |
=================================================================== |
--- a/lib/common.js |
+++ b/lib/common.js |
@@ -43,10 +43,9 @@ |
// process anchor at expression end |
.replace(/\\\|$/, "$") |
// remove leading wildcards |
.replace(/^(\.\*)/, "") |
// remove trailing wildcards |
.replace(/(\.\*)$/, ""); |
} |
-if (typeof exports != "undefined") |
- exports.filterToRegExp = filterToRegExp; |
+exports.filterToRegExp = filterToRegExp; |