diff --git a/lib/proxy.js b/lib/proxy.js
index <HASH>..<HASH> 100644
--- a/lib/proxy.js
+++ b/lib/proxy.js
@@ -19,7 +19,7 @@ module.exports = function (host, options) {
       prefix : options
     };
 
-  } else if (typeof options === 'RegExp') {
+  } else if (options instanceof RegExp) {
     // @todo typeof options will be 'object' if it's a RegExp; check with _.isRegExp()
     options = {
       restrict : {
Fixing Regex check so that it actually works Resolves #<I>