I was thinking of something along the same lines, but wouldn't this be rather computantionally expensive if you were to use numbers in the range of 1024 or so?

Kelson Vibber wrote:

At 10:46 AM 3/25/2004, Al Danks wrote:

I'm wondering if one could look for "test", then look for "test" again with x
characters, and "test" again within x more characters?


Perhaps something like:

        /test.{0,x}test.{0,x}test/

Refined with appropriate use of \b and similar elements to avoid matching on, say, "testify"

Kelson Vibber
SpeedGate Communications <www.speed.net>


Reply via email to