I am creating dynamic queries on NPM for sites to fall in their respective groups. I would like to know correct expression to include these subnet's in the queries.
So let’s consider that I have a site with /27 subnet 10.10.10.0/27, which will have a valid rage between 10.10.10.1-30.
What kind of expression will match the range of IP’s in the query given below.
We have used similar expression “ 10.10.[0-3].* ” for matching the 3 octet of the subnet but it only matches " 10.10.0.X "
Similarly when I am matching the last octet ex : 10.10.10.[10-20]
So the match case only matches the first digit inside the bracket and skips the rest
