Skip to content

Commit

Permalink
Update Routing.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rajkumardusad authored Dec 18, 2023
1 parent 07d351f commit 33997ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Make sure to escape all regular expression special characters, otherwise you mig

Named regular expression:
```js
app.get("/user/:id:(\\d+)", function (req, res) {
app.get("/user/:id(\\d+)", function (req, res) {
res.end(req.params.id);
});
```
Expand Down

0 comments on commit 33997ac

Please sign in to comment.