jsakamoto / ipaddressrange

.NET Class Library for range of IP address, both IPv4 and IPv6.
Mozilla Public License 2.0
368 stars 71 forks source link

Feature request: Wildcard support & multiple ranges #74

Open cdimitroulas opened 2 years ago

cdimitroulas commented 2 years ago

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.