Oh! that's right! didn't though of that :D thanks, this is much more versatile.
On Jun 8, 2:37 am, Grant Cox <[EMAIL PROTECTED]> wrote: > 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
