Hello

I am trying your regexs .  I had few problems only with 
validFormatHeloRe , because it was stopping
also big italian isp (.it) , i.e.  *smtp3.libero.it    *. The invalid ,  
is working very well .

Thank you .
Graziano

> validFormatHeloRe (file:lists/validFormatHeloRe.txt):
> ----------
> ^(([a-z]|\d(?!\d*\.\b))((([a-z\d)]|-(?!-\b)){0,61})[a-z\d])?\.)+(biz|com|edu|gov|info|int|mil|name|net|org|pro|aero|cat|coop|jobs|museum|travel|au|ca|eu|uk|us)\.?$#
>  
> second-level domain name (strict)
> ^\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\]$#
>  
> bracketed IP address (strict)
> ----------
>
> invalidFormatHeloRe (file:lists/invalidFormatHeloRe.txt):
> ----------
> ^[^\.]+\.?$# unqualified hostname label (not strict)
> ^(adsl|c|cm|cable|cust|dsl|dynamic|pool|user|xdsl)(\.|-|\d)# hostnames 
> that start with specific words followed by "." or "-" or a number, 
> typically dynamically allocated
> ^(?!\[).*(\.|-|x|^)\d{1,3}(\.|-|x)\d{1,3}\.# two IP octets preceded and 
> followed by additional FQDN info, delimted with "." or "-" or "x" (not 
> strict)
> ^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$# IP address, unbracketed (not strict)
> 127\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){2}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)#
>  
> IP address, Loopback (strict)
> 10\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){2}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)#
>  
> IP address, Private Class A (strict)
> 172\.(?:3[0-1]|2[0-9]|1[6-9]?)\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.)(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)#
>  
> IP address, Private Class B (strict)
> 192\.168\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.)(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)#
>  
> IP address, Private Class C (strict)
> (?:23[0-9]|22[4-9]?)\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){2}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)#
>  
> IP address, Private Class D multicast (strict)
> (?:24[0-9]|25[0-5]?)\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){2}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)#
>  
> IP address, Private Class E reserved (strict)
> 169\.254\.(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.)(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)#
>  
> IP address, Private Link-Local (strict)
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to