Not necesarily with reverse routes... I guess... http://debuggable.com/posts/new-router-goodies:480f4dd6-4d40-4405-908d-4cd7cbdd56cb
On Jun 13, 7:23 am, RichardAtHome <[EMAIL PROTECTED]> wrote: > Another problem with slug based URLs is .. > > What if they change the slug? You'll get a bunch of broken bookmarks > (not necessarily in your app, but in all the places outside your app > that point to it)... > > On Jun 13, 11:12 am, Marcin Jaworski <[EMAIL PROTECTED]> wrote: > > > If you allow only "-", "_" and alphanumeric characters in user slugs > > then this should also do it: > > ^([-_a-z0-9]*[-_a-z][-_a-z0-9]*)$ > > > Then string with at least one non-numeric characted anywhere will be > > matched as slug. > > > On 13 Cze, 01:48, "b logica" <[EMAIL PROTECTED]> wrote: > > > > On Thu, Jun 12, 2008 at 7:04 PM, Dardo Sordi Bogado > > > > <[EMAIL PROTECTED]> wrote: > > > > >> allowed, anyway. Disallowing numbers shouldn't be such a big deal. Or > > > >> just make sure it > > > >> can't *begin* with a number: > > > > >> ^([^0-9][-_a-z0-9]+) > > > > > Actually, anything which isn't just numbers will be ok. > > > > Every one of which belongs to the set of strings which do not begin > > > with a number. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
