You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
react-router-dom.js:4100 Uncaught SyntaxError: Invalid regular expression: /^\/paper\/Extended-Symptom-Code-((?:*))-the-Extended-Sympto\/1(?:\/(?=$))?(?=\/|$)/: Nothing to repeat
at new RegExp (<anonymous>)
at tokensToRegExp (VM3961 react-router-dom.js:4100)
at stringToRegexp (VM3961 react-router-dom.js:4028)
at pathToRegexp (VM3961 react-router-dom.js:4131)
at compilePath (VM3961 react-router-dom.js:4150)
at matchPath (VM3961 react-router-dom.js:4179)
at Route.computeMatch (VM3961 react-router-dom.js:4285)
at new Route (VM3961 react-router-dom.js:4254)
at constructClassInstance (VM3960 react-dom.development.js:6897)
at updateClassComponent (VM3960 react-dom.development.js:8381)
The text was updated successfully, but these errors were encountered:
Appears to impact
react-router
versions4
and above.Test Case
https://codepen.io/thecodeviking/pen/KogaJR
Steps to reproduce
<NavLink />
.to
to a value that includes(*)
.Expected Behavior
To see a nice, shiny
<NavLink />
!Actual Behavior
An exception is thrown:
The text was updated successfully, but these errors were encountered: