pattern takes a regex, and ORIGIN_PATTERN has multiple unescaped /, so it is throwing
Pattern attribute value (https?://[^/]*)(/[^/]+)* is not a valid regular expression: Uncaught SyntaxError: Invalid regular expression: /(https?://[^/]*)(/[^/]+)*/v: Invalid character in character class
not the bug, but one that came up in #49.
pattern
takes a regex, andORIGIN_PATTERN
has multiple unescaped/
, so it is throwing