Skip to content

Feature request: Wildcard support & multiple ranges #74

@cdimitroulas

Description

@cdimitroulas

First of all, thanks for this great library. I haven't had a chance to use it but it looks great and covers many use-cases that I'm looking for!

I have a couple of feature requests that would compliment the current range syntax (e.g. 255.10.8.0-23) that is permitted by the library.

  1. Allow wildcard characters.
    For example 10.0.1.* which would be equivalent to 10.0.1.0-255.
  2. Have a way to parse a string into multiple ranges.
    For example 10.0.80-93.0-100. This would produce a list of 14 IP ranges.

I would be happy to look into opening a PR for this if you think either of these features are worthwhile.

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