Gunnar Hjalmarsson [GH], on Friday, November 12, 2004 at 09:23 (+0100) typed the following:
GH> I think I would have done it in more than one step. Leaving the ports GH> aside, you could for instance start with extracting possible IP GH> addresses with something like: GH> /(\d{1,3}(?:\.\d{1,3}){3})/ GH> Then you could have a function test the validity in various respects. yes, I also thought about that, maybe it will be also faster. Thanks, for idea. Hm, I really could add to my regexp '(?:' too :) -- ...m8s, cu l8r, Brano. ["Where does a wise man hide a leaf? In a forest." -- Chesterson] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>