Skip to content

Commit

Permalink
spelling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hacksparrow committed May 17, 2015
1 parent a4ba507 commit 02daabe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _includes/api/en/4x/app-param.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ app.get('/range/:range', function(req, res) {

<div class="doc-box doc-info" markdown="1">
The '`.`' character can't be used to caputure a character in your capturing regexp (for example you can't use `'/user-.+/'` to capture `'users-gami'`. Use `[\\s\\S]` or `[\\w\\W]` instead (as in `'/user-[\\s\\S]+/'`).
Exemples:

Examples:

<pre><code class="language-js">//captures '1-a_6' but not '543-azser-sder'
router.get('/[0-9]+-[[\\w]]*', function);
Expand Down

0 comments on commit 02daabe

Please sign in to comment.