Skip to content

Short prefix notation support? #12

@ssuess

Description

@ssuess

cidrRegex.v4({ exact: true }).test('65.0/14') (which is a short notation for 65.0.0.0/14) does not validate as an IPv4 CIDR (although it does validate as such in other libraries and tools such as python IPy). Is this expected behaviour?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions