mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix pointless use of parenthesis in regex
This commit is contained in:
parent
99dfce0b44
commit
5f7d005e3d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue