Problem with escaping backslashes in custom regex in params #2640
-
Version5.0.3 Reproduction linkSteps to reproduce
(In version 5.0.2 this still works.)
If you use the following instead in version 5.0.3, it will work: But I think, that this is at least just a workaround. Or you stay at version 5.0.2 ... What is expected?Custom regex is working. You get the desired route and page. What is actually happening?Custom regex seems to fail because you fall into the catch all page. I think, the backslashes get lost. I refer to this point in the Vue Router docs: https://router.vuejs.org/guide/essentials/route-matching-syntax.html#Custom-regex-in-params |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Sorry, I don't understand based on the repro. Can you provide one using this playground ? Thank you |
Beta Was this translation helpful? Give feedback.
Fixed in 71fdbf3