I'm just replying to the first post. I would write it as follows: r'^accounts/(?P<slug>[\w\-]+)/?$'
On 11/1/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > > > On 31-Oct-07, at 9:08 PM, cjl wrote: > > > Will these two regular expressions match the same strings? The both > > seem to work for me, but I couldn't find any information about the > > importance of order between square brackets. > > dont put '-' between any letters in square brackets - to be on the > safe side, put it last always > > -- > > regards > kg > http://lawgon.livejournal.com > http://nrcfosshelpline.in/web/ > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---