Re: [SOT] Filters, partial strings

2001-12-11 Thread Gerd Ewald
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Peter Palmreuther ! On Mon, 10 Dec 2001 00:50:31 +0100 GMT your local time, which was 10.12.2001, 00:50 (GMT+0100) where I live, you wrote: [...] '123.456.789.698' as you have no chance to validate the number is between 0 255

Re: [SOT] Filters, partial strings

2001-12-11 Thread Januk Aggarwal
Hi Gerd, An archeological dig discovered that on Tuesday, December 11, 2001 at 10:42 GMT +0100, Gerd Ewald [GE] typed the following: GE Hello Peter Palmreuther ! GE On Mon, 10 Dec 2001 00:50:31 +0100 GMT your local time, GE which was 10.12.2001, 00:50 (GMT+0100) where I live, you wrote: GE

Re: [SOT] Filters, partial strings

2001-12-11 Thread Januk Aggarwal
Hi Gerd, It was foretold that on Tuesday, December 11, 2001 at 10:42 GMT +0100, Gerd Ewald [GE] would type: '123.456.789.698' as you have no chance to validate the number is between 0 255 (including), but it's quite sure better than nothing :-) GE Why not using [012][0-5][0-5] if it is

Re: [SOT] Filters, partial strings

2001-12-11 Thread Gerd Ewald
-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

Re: [SOT] Filters, partial strings

2001-12-11 Thread Januk Aggarwal
Hi Gerd, It was foretold that on Tuesday, December 11, 2001 at 11:14 GMT +0100, Gerd Ewald [GE] would type: You're missing ranges. One that might work better is: (\d|\d\d|[01]\d\d|2[0-5][0-5])\D Heh, mine is wrong too. Mine will miss 206-209, 216-219, 226-229, etc. GE When I wrote mine I