diff options
author | hackademix | 2018-09-10 19:23:47 +0200 |
---|---|---|
committer | hackademix | 2018-09-10 19:23:47 +0200 |
commit | 8c739b064c14b82011b08d9080019fb4615b2ec5 (patch) | |
tree | aa5535383add3cf1c06f739177ef38e7aa5e6fdb /src/bg/ChildPolicies.js | |
parent | 48053d96d44abbfa3c659e5fc817d998dda2bb35 (diff) | |
download | noscript-8c739b064c14b82011b08d9080019fb4615b2ec5.tar.gz noscript-8c739b064c14b82011b08d9080019fb4615b2ec5.tar.xz noscript-8c739b064c14b82011b08d9080019fb4615b2ec5.zip |
Removed unused regexp.
Diffstat (limited to 'src/bg/ChildPolicies.js')
-rw-r--r-- | src/bg/ChildPolicies.js | 1 |
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:]+\])?\/(\*|[^*]*)$/; |