On 15.05.2007 02:50 Aaron Shafovaloff wrote:
> I figured it out:
>
> Router::connect('/:group/:curriculum/*',
> array('controller'=>'curriculum'),array('curriculum'=>'\b(?:(?!
> curriculum|courses|facilitators|configuration)\w)+\b'));
Your parens are off. The negative lookahead assertions should group all
the alternatives, so try:
\b(?!(?:curriculum|courses|facilitators|configuration))\w+\b
-Matt
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---