май това е posix еквивалента : [0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.([0-9]{1,3}
obache tova vkluchva "adresi" ot tip 0.932.857.401. opitai da polzvash neshto takova:
(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]) \.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0) \.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0) \.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])
ne che e idealno, no imo e po-blizo do istinata :)
А може ли да изключваш broadcast и network адресите? ;-)
И още един прост вариант:
[0-9]{1,3}(\.[0-9]{1,3}){3}
Поздрави -- Огнян Кулев <[EMAIL PROTECTED],fsa-bg.org,jabber.net}> 7D9F 66E6 68B7 A62B 0FCF EB04 80BF 3A8C A252 9782
============================================================================ A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html ============================================================================