Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Perl (http://www.velocityreviews.com/forums/f17-perl.html)
-   -   Re: :re: IP regex? (http://www.velocityreviews.com/forums/t24130-re-re-ip-regex.html)

Gareth Glaccum 07-07-2003 08:06 AM

Re: :re: IP regex?
 
gingaloon@hotmail.com (JamesW) wrote in message news:<27d2bd1f.0307041025.2417ad36@posting.google. com>...

> $ip = 123.234.456 #true
> $ip = 123..234 #false
> $ip = 12.345 #false
> $ip = 123 #true
> $ip = 123f #false
>
> hth


Thanks, but it doesn't actually allow me to test for a valid IP
though. Sorry I should have re-stated it in the question.
Gareth


All times are GMT. The time now is 01:42 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57