You are here: Re: Warning: ereg() [function.ereg]: REG_ERANGE in ... « PHP Programming Language « IT news, forums, messages
Re: Warning: ereg() [function.ereg]: REG_ERANGE in ...

Posted by AnrDaemon on 12/21/07 05:57

Greetings, Rik Wasmus.
In reply to Your message dated Thursday, December 20, 2007, 02:47:30,

>> Speaking on e-mail validation (and hostname validation as more common
>> problem)
>> I've found an interesting trick to define a hostname as Perl RE.
>>
>> Excluding the part with protocol and port definition and access
>> credentials, it looks like:
>>
>> ^[0-9a-z]+(?:[\.\-][0-9a-z]+)*$

> No, it doesn't, the good people at http://????.cn/ would highly
> disagree with you....

Can't see what You mean under Your question marks :P
Well, excluding jokes... Can You please explain Your disagreement a bit
better?


--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация