Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Oct 13, 2022
1 parent 40549dd commit a2e8e17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions errors/invalid-route-source.md
Expand Up @@ -2,9 +2,9 @@

#### Why This Error Occurred

When defining custom routes, or a middleware matcher, a pattern can not be parsed.
When defining custom routes, or a middleware `matcher`, a pattern could not be parsed.

This can be due to trying to use normal `RegExp` syntax like negative lookaheads (`?!exclude`) without following `path-to-regexp`'s syntax for it.
This could have been due to trying to use normal `RegExp` syntax like negative lookaheads (`?!exclude`) without following [`path-to-regexp`](https://github.com/pillarjs/path-to-regexp)'s syntax for it.

#### Possible Ways to Fix It

Expand Down

0 comments on commit a2e8e17

Please sign in to comment.