preact-router icon indicating copy to clipboard operation
preact-router copied to clipboard

docs: add remark to additional modifiers

Open donkeyDau opened this issue 5 years ago • 1 comments

Information taken from https://github.com/preactjs/preact-router/issues/62

donkeyDau avatar Feb 03 '20 10:02 donkeyDau

Looks like the package doesn't support all of the remark modifier, just * ? and +: https://github.com/preactjs/preact-router/blob/5f00182f82eb5e062926aa8af4b3cacf0332dce2/src/util.js#L30

Would love to see full support though! Especially for unnamed path segments (ex: /foo(/bar)). Would help tremendously with matching default routes. @developit, interested in a PR?

amiller-gh avatar Apr 08 '20 07:04 amiller-gh