Hi Andres,
It is now more clear, yes I misunderstood at first.
See if this works for you.
(?<!\d)(?:(?:10|127)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|192\.168|169\.254|172\.0?(?:1[6-9]|2[0-9]|3[01]))(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){2}(?!\d)
My tests: http://dpaste.com/111703/
Sertan
On Thursday, January 22, 2009, 1:12:23 AM, you wrote:
> I WANT to match '10.1.1.2' in '123_10.1.1.2a'! I'm sorry if I gave you
> a wrong idea.
> What I DON'T want to match is '10.1.1.222' in '10.1.1.2222', do you
> get the slight difference?
(?<!\d)(?:(?:10|127)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|192\.168|169\.254|172\.0?(?:1[6-9]|2[0-9]|3[01]))(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){2}(?!\d)
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop