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

Stefan Pendl stefan.pendl.71 at gmail.com
Sat Dec 15 09:25:21 CET 2012


Am 14.12.2012 18:54, schrieb Helmut Hullen:
>
>> 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.

I have reported this very problem in a previous version, which was 
corrected, but it seems that this change has been reverted.
I haven't reported it through the bug tracker, but through the mailing 
list, so it will be hard to find.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



More information about the wpkg-users mailing list