Re: Regex validation question (might be a bug)

2007-06-08 Thread Radish
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 yo

Re: Regex validation question (might be a bug)

2007-06-07 Thread Grant Cox
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 indicat

Regex validation question (might be a bug)

2007-06-07 Thread Radish
Hi all, i had some problems with the validation mechanism in cake 1.2, so i went right into the code. i learned that there is something that don't work as it supposed to work. if i have a model with the member var $validate = array( 'alias' => array(