You are here: Re: ereg statements « All PHP « IT news, forums, messages
Re: ereg statements

Posted by John Dunlop on 10/13/06 09:01

Koncept:

> [Cerebral Believer:]
>
> > Is this a good ereg statement?

No. The pattern tries to weed out malformed e-mail addresses but fails
because it is too restrictive. A regular expression to match all
well-formed e-mail addresses would be complex, since in addition to the
productions you would need to include from RFC2822, the pattern would
involve recursion of a subpattern if it was to allow comments.

> Try this:

A prime bogosity indicator on Usenet.

--
Jock

 

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

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