Sorry, I wasn't looking at the regex itself, I was just looking at the
way you implemented it (and we have not addressed your 'company_name'
issue at all, but the solution here should be readily adaptable to
that).

I am no regex expert, but wouldn't the following get you what you
want?:

'rule' => '/^[a-z]$/i',

 (the regex must be delimited by "/", which is probably the source of
your current error)

On Jul 12, 7:18 pm, Felix <[email protected]> wrote:

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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

Reply via email to