more important than knowledge. Knowledge is limited.
>Imagination encircles the world." -- Albert Einstein [1879-1955]
>
>
>-Original Message-
>From: Mat Harris [mailto:[EMAIL PROTECTED]]
>Sent: Friday, June 14, 2002 2:59 PM
>To: Tim Musson; [EMAIL PROTECTED]
>Subjec
[mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 2:59 PM
To: Tim Musson; [EMAIL PROTECTED]
Subject: Re: RegEx to match Valid IP Address
ok, maybe that is ok but I recently was told by a networking engineer
that
the last octet _shouldn't_ be 255. the first 3 can be i think.
At 14:34 14/06/20
ok, maybe that is ok but I recently was told by a networking engineer that
the last octet _shouldn't_ be 255. the first 3 can be i think.
At 14:34 14/06/2002 -0400, Tim Musson wrote:
>Hey Mat,
>
>My MUA believes you used NeoMail 1.25
>to write the following on Friday, June 14, 2002 at 9:04:54 AM
On Friday, June 14, 2002, at 11:34 , Tim Musson wrote:
> Hey Mat,
>
> My MUA believes you used NeoMail 1.25
> to write the following on Friday, June 14, 2002 at 9:04:54 AM.
>
> MH> actually, it should only be 1-254 inclusive as 255 is reserved for
> MH> broadcast or other special addresses (some
Hey Mat,
My MUA believes you used NeoMail 1.25
to write the following on Friday, June 14, 2002 at 9:04:54 AM.
MH> actually, it should only be 1-254 inclusive as 255 is reserved for
MH> broadcast or other special addresses (sometimes not used atall).
MH> oficially the 255 node it ignored.
I don'
On Friday, June 14, 2002, at 06:04 , Mat Harrison wrote:
[..]
> actually, it should only be 1-254 inclusive as 255 is reserved for
> broadcast or other special addresses (sometimes not used atall).
> oficially the 255 node it ignored.
that is actually a "dangerous" assertion to make. Since it ba
actually, it should only be 1-254 inclusive as 255 is reserved for
broadcast or other special addresses (sometimes not used atall).
oficially the 255 node it ignored.
> ,
>
> I seem to recall a discussion on a RegEx to match an IP address, but
> can't seem to find it. Anyone have any idea
You could either roll your own or use Regexp::Common.
http://www.cpan.org/modules/by-module/Regexp/Regexp-Common-0.01.readme
It might look like this...
(?:[1]?\d{1,2}|2[0-4]\d|25[0-5]\.){3}[1]?\d{1,2}|2[0-4]\d|25[0-5]
Or something like that.
Rob
-Original Message-
From: Tim Muss