From 8c739b064c14b82011b08d9080019fb4615b2ec5 Mon Sep 17 00:00:00 2001 From: hackademix Date: Mon, 10 Sep 2018 19:23:47 +0200 Subject: [PATCH] Removed unused regexp. --- src/bg/ChildPolicies.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bg/ChildPolicies.js b/src/bg/ChildPolicies.js index 7df3253..67c0c81 100644 --- a/src/bg/ChildPolicies.js +++ b/src/bg/ChildPolicies.js @@ -54,7 +54,6 @@ let flatten = arr => arr.reduce((a, b) => a.concat(Array.isArray(b) ? flatten(b) : b), []); let protocolRx = /^(\w+):/i; - let pathRx = /(?:[^:/]\/|:\/{3})$/; let portRx = /:\d+(?=\/|$)/; let validMatchPatternRx = /^(?:\*|(?:http|ws|ftp)s?|file):\/\/(?:\*|(?:\*\.)?[\w\u0100-\uf000][\w\u0100-\uf000.-]*|\[[\w:]+\])?\/(\*|[^*]*)$/;