04-03-2007, 05:37 PM
After a few days i had the time to try it but it didn't work, i think it is my stupidity or something what i simply don't understand but i do a findrx over a piece of text with something like this:
findrx(s "(10|20|25)(?:\.\d{1,3}){3}" 0 4 a)
the result is 10.10.10.1010.10.10.1020.20.20.2010.10.10.1025.25.25.25
And with this i do a test for each ip so if there are doubles/triples it is inefficient..
And doesn't give something the member function can split, my questions are:
- is it possible to exclude doubles from the result or
- filter the doubles from this result in a decent way?
Thanks for your time in advance
Freggel
findrx(s "(10|20|25)(?:\.\d{1,3}){3}" 0 4 a)
the result is 10.10.10.1010.10.10.1020.20.20.2010.10.10.1025.25.25.25
And with this i do a test for each ip so if there are doubles/triples it is inefficient..
And doesn't give something the member function can split, my questions are:
- is it possible to exclude doubles from the result or
- filter the doubles from this result in a decent way?
Thanks for your time in advance
Freggel