<script src="https://jc3213.github.io/matchpattern.js/matchpattern.js"></script>
// @require https://jc3213.github.io/matchpattern.js/matchpattern.js
let pA = MatchPattern(url);
let pB = MatchPattern(host);
- url
string
https://example.com/pathname
- host
string
example.com