I think you've just got your rule wrong - this looks like the expected result to me. Your test string does have valid characters in it...
Do you want your rule to match strings which only have lowercase, numeric, or space characters (no uppercase / other stuff)? In that case you have to indicate the start and end points in your regexp, ie '/^[a-z0-9 ]+$/' . --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---