H
H
HAbRAhabp2016-01-06 19:58:07
Node.js
HAbRAhabp, 2016-01-06 19:58:07

Regular expression with router in express.js?

I know that the framework will convert expressions of this kind
/user/:id/edit
into a regular expression. Is it possible to look at this regular expression, i.e. use express as regex constructor? What should be changed in his code?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question