class list_users:
def GET(self, name):
return "Listing info about user: {0}".format(name)
The regular expression groups are passed as argument to the GET
function. If you don't want that to happen, then use non grouping
version of parenthesis. For example "/(?:test1|test2).
For more details, see:
http://docs.python.org/howto/regex.html#non-capturing-and-named-groups
Anand