Tuesday, September 1, 2009

Re: Regex validation problem.

Ah in the end I removed the validation completely... realized that putting such restrictions on names is not the best idea (eg unicode chinese/jap names etc)

On Mon, Aug 31, 2009 at 5:14 PM, Dr. Loboto <drloboto@gmail.com> wrote:

Your function does all right - alphanumeric values only as you did
nothing with it.

'/^[a-zA-Z0-9_-]+$/'



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: