mirror of https://github.com/gorhill/uBlock.git
Fix pointless use of parenthesis in regex
This commit is contained in:
parent
99dfce0b44
commit
5f7d005e3d
|
@ -44,7 +44,7 @@ const reIPv6FromAuthority =
|
|||
const reMustNormalizeHostname =
|
||||
/[^0-9a-z._-]/;
|
||||
const reOriginFromURI =
|
||||
/^(?:[^:\/?#]+:)\/\/[^\/?#]+/;
|
||||
/^[^:\/?#]+:\/\/[^\/?#]+/;
|
||||
const reHostnameFromNetworkURL =
|
||||
/^(?:http|ws|ftp)s?:\/\/([0-9a-z_][0-9a-z._-]*[0-9a-z])(?::\d+)?\//;
|
||||
const reIPAddressNaive =
|
||||
|
|
Loading…
Reference in New Issue