Skip to content

Adding non-standard ports to default patterns #235

Description

@Acers2

Hello

The default regex patterns could include non standard ports:

IPs
^(http|ws)s?://10(.\d+){3}(?::\d+)?/
^(http|ws)s?://127(.\d+){3}(?::\d+)?/
^(http|ws)s?://172.16(.\d+){2}(?::\d+)?/
^(http|ws)s?://192.168(.\d+){2}(?::\d+)?/

Plain Host
^(http|ws)s?://[^.]+(?::\d+)?/

The part (?::\d+)? should allow optional ports.

Thank you for the great extension.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions