summaryrefslogtreecommitdiff
path: root/src/bg
diff options
context:
space:
mode:
authorhackademix2018-09-10 19:23:47 +0200
committerhackademix2018-09-10 19:23:47 +0200
commit8c739b064c14b82011b08d9080019fb4615b2ec5 (patch)
treeaa5535383add3cf1c06f739177ef38e7aa5e6fdb /src/bg
parent48053d96d44abbfa3c659e5fc817d998dda2bb35 (diff)
downloadnoscript-8c739b064c14b82011b08d9080019fb4615b2ec5.tar.gz
noscript-8c739b064c14b82011b08d9080019fb4615b2ec5.tar.xz
noscript-8c739b064c14b82011b08d9080019fb4615b2ec5.zip
Removed unused regexp.
Diffstat (limited to 'src/bg')
-rw-r--r--src/bg/ChildPolicies.js1
1 files changed, 0 insertions, 1 deletions
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:]+\])?\/(\*|[^*]*)$/;