Skip to content

Allow slash ( / ) in named variables #5

Description

@GoogleCodeExporter
Modify the NamedVariableNamespaceMatcher to allow named variables to match
sections of the path than include the '/'

Eg. by inclusion of the * in the pattern below greedily match the rest of
the namespace.

@Namespace("/users/{userid*}")

Eg.  
@Namespace("/users/{userid}") 
matches /users/a123/add where userid=a123 but will not match
/users/a123/add/admin

@Namespace("/users/{userid*}") 
matches /users/a123/add where userid=a123 and /users/a123/add/admin where
userid="a123/add"

Original issue reported on code.google.com by jeromyev...@gmail.com on 16 Apr 2008 at 3:40

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions