Hi! I'm not entirely sure what I'm doing wrong, so I thought to ask here. I'm trying to match against a url like /user/Foo and /user/Foo/ .
What I have in my urls list is '/user/(.*)/?' and I'm getting the following capture passed to my GET: localhost:8080/user/Foo -> Foo localhost:8080/user/Foo/ -> Foo/ (here I was expecting that the GET function got passed Foo in fact) Now, my impression was that only the bit(s) in the ( and ) would get captured and passed on, and a further experiment seemed to confirm this: '/user/(.*)/something/' -> localhost:8080/user/Foo/something/ -> Foo So I'm guessing I'm missing something really obvious with respect to making that trailing / optional in the URL and not part of what is captured. Any clues?
-- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
