Anyone who can help me with a IP thingie? I want to compare a IP adress
with a IP "String" with wildcards (*)
like 127.0.0.1 equals to 127.*.*.*
and 255.255.255.0 equals *.255.255.0
I want the wildcards to work in all the places eg. *.*.*.* will equal all Ip
adresses
And it would also be great if someone could help me with a regex or
something that can help me to compare hostnames
like *.no equals every hostname that ends with .no
and some*.no wil equal every hostname that begins with some and ends with
..no