Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for RegExp defined routes #16

Merged
merged 3 commits into from
Aug 20, 2012
Merged

Conversation

cecchi
Copy link
Contributor

@cecchi cecchi commented Aug 12, 2012

Allows the use of regular expression route patterns, not just named params. Passing an integer to check or assert will treat params as an array rather than an object.

@travisbot
Copy link

This pull request passes (merged 3ba4e3f into 1590b47).

@ctavan
Copy link
Member

ctavan commented Aug 13, 2012

Thanks! I like the suggestions and would like to merge it.

Would you mind using strict comparisons === and !== and add a test case for that?

@travisbot
Copy link

This pull request passes (merged 31d51d2 into 1590b47).

@cecchi
Copy link
Contributor Author

cecchi commented Aug 13, 2012

Should be all good, let me know if those tests aren't up to snuff.

ctavan added a commit that referenced this pull request Aug 20, 2012
Support for RegExp defined routes
@ctavan ctavan merged commit 38e0f4e into express-validator:master Aug 20, 2012
@ctavan
Copy link
Member

ctavan commented Aug 20, 2012

Published to npm as v0.2.4

@lock
Copy link

lock bot commented Jun 1, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants