You are here: Re: Username regular expression « PHP Programming Language « IT news, forums, messages
Re: Username regular expression

Posted by Geoff Berrow on 01/30/07 01:21

Message-ID: <op.tmv020sfqnv3q9@misant.kabel.utwente.nl> from Rik
contained the following:

>> Note: \w is the same as [a-zA-Z0-9_]
>
>I'd allow underscores also, so [\w _-].
>
>I usually don't use the \w so I can recognize valid characters somewhat
>easier, but it works OK offcourse.

And it has the advantage of allowing accented characters. Thanks guys.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

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

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