On Apr 2, 8:10 pm, "Mike Orr" <[EMAIL PROTECTED]> wrote:

> This rule doesn't work:
>
>     map.connect("glossary_term", "/glossary/:page#:term", controller="main",
>         action="glossary", page="index")
>
> sre_constants.error: bad character in group name.

But this should:

    map.connect("glossary_term", "/glossary/:(page)#:(term)",
controller="main",
        action="glossary", page="index")

See 'Groupings' at http://routes.groovie.org/manual.html#groupings for
details.

I don' t know if this is a good solution to your problem, though.

--
Ron


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to