[wpkg-users] [Bug 278] Wrong host match

Helmut Hullen Hullen at t-online.de
Sat Dec 15 09:58:00 CET 2012


Hallo, Stefan,

Du meintest am 15.12.12:

>>> how about the following match:
>>
>>> "^\d\d*\.\d\d*\.\d\d*\.\d\d*$"
>>
>>> So if the match pattern of the name attribute matches that pattern,
>>> then it is an IP, else it is a host name match.

>> Aehemmm ... what about
>>
>>          345.456.567.678
>>

> The pattern translated into human language:

> Start - one digit - zero or more digits - one dot - one digit - zero
> or more digits - one dot - one digit - zero or more digits - end

> Sure there will be a more sophisticated check needed to allow a
> maximum of three digits per field.

Max. 3 digits is one problem. The (for IP addresses) allowed range is  
the other problem.

Viele Gruesse!
Helmut



More information about the wpkg-users mailing list