Skip to content

Conversation

@mgenov
Copy link
Contributor

@mgenov mgenov commented Jan 21, 2016

Adds regex pattern matching on paths, so path variables could be more
complex that are now.

Here are some examples

/r/users/:id{\d+}

will match only

/r/users/123

but not

/r/users/john

Note: testng version was updated in pom.xml due issue with latest Intellij IDEA 15. If this change is breakable, the pom.xml changes will be reverted.

Adds regex pattern matching on paths, so path variables could be more
complex that are now.

Here are some examples
```
/r/users/:id{\d+}
```

will match only

```
/r/users/123
```

but not

```
/r/users/john
```
@mgenov mgenov force-pushed the regexp_path_matcher branch from 9b76977 to e8af083 Compare January 21, 2016 17:00
@mgenov
Copy link
Contributor Author

mgenov commented Jan 21, 2016

cc @jvanzyl @dhanji

@mgenov
Copy link
Contributor Author

mgenov commented Jan 21, 2016

Another possible option would be brackets to wrap variable and regexp: {id:\d+}

@mgenov
Copy link
Contributor Author

mgenov commented Feb 13, 2016

ping

@mgenov
Copy link
Contributor Author

mgenov commented May 5, 2016

ping2

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant