-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Januk Aggarwal !


On Tue, 11 Dec 2001 02:08:22 -0800 GMT your local time,
which was 11.12.2001, 11:08 (GMT+0100) where I live, you wrote:

[...]

> That regular expression won't catch all three digit numbers between 0
> and 255, it will catch all numbers from:
> 000-055, 100-155, 200-255

Aaarrrgghh, you are right. Seems as if I'm still in bed ;-) I should
test my ideas before.

> You're missing ranges.  One that might work better is:

> (\d|\d\d|[01]\d\d|2[0-5][0-5])\D

When I wrote mine I remembered a regex which was printed in *Friedel*,
but was too lazy to look it up. Here it is:

([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])

Still 0.0.0.0 is possible, but this another story.


- --
Best regards,
 Gerd
======================================
Using The Bat! Version 1.53t
PGP/GPG-Keys on request mailto:[EMAIL PROTECTED]?subject=send_key
- ----------------------------------------------------------------------------
I cried because I had no sex life. Then I met a man with no hands.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 ckt
Comment: Key-ID: 0x0FB66C7D or 0xD56C6187

iQA/AwUBPBXOkky/sHrVbGGHEQLDFgCcDh51lkxPU5oGFJCwGtMXwHXpEYkAn2G1
OT9KSlrXaahQE+L/CPTO/yMl
=/IN2
-----END PGP SIGNATURE-----


-- 
________________________________________________________
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Latest Vers: 1.53d
FAQ        : http://faq.thebat.dutaint.com 

Reply via email to