Skip to content

Regular expression support for checking routes#67

Closed
cadorn wants to merge 1 commit intosocketio:masterfrom
cadorn:master
Closed

Regular expression support for checking routes#67
cadorn wants to merge 1 commit intosocketio:masterfrom
cadorn:master

Conversation

@cadorn
Copy link
Contributor

@cadorn cadorn commented Aug 14, 2012

No description provided.

@rauchg
Copy link
Contributor

rauchg commented Aug 14, 2012

I think a custom check function would be better suited, that gets the request object just like the stock one.

@rauchg rauchg closed this Aug 14, 2012
@creationix
Copy link

Just wondering, but why is a string path acceptable sugar without resorting to a full check function, but a regexp not ok? What if we support both regexp and full check function?

@rauchg
Copy link
Contributor

rauchg commented Aug 23, 2012

Excellent question… I'm down with that plan.

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.

3 participants