From bb0a25a3843ba54d918bfbf1636a22bfe5ec67ff Mon Sep 17 00:00:00 2001 From: Alexey Taktarov Date: Tue, 16 Apr 2019 12:09:29 +0300 Subject: [PATCH] Closes #1 Add a note about supported syntax. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7ad9d5aa..235fe3f2 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,8 @@ used by React Router or Express, and it supports the following patterns: - Named dynamic segments: `/users/:foo`. - Dynamic segments with modifiers: `/foo/:bar*`, `/foo/baz?` or `/foo/bar+`. -The library was designed to be as small as possible, so most of the additional matching feature were left out. +The library was designed to be as small as possible, so most of the additional matching feature were left out +(see [this issue](https://github.com/molefrog/wouter/issues/1) for more info). If you do need to have `path-to-regexp`-like functionality you can customize a matcher function: ```js @@ -85,7 +86,6 @@ import pathToRegexp from "path-to-regexp"; const App = () => ( - {/* segment constraints aren't supported by wouter */} }