Dash in paths not recognized as separators
See original GitHub issueI had this kind of routes working with original FlowRouter: /@:username/:storyId-:storySlug?
.
Now, the second part is considered to be a unique block :storyId-:storySlug?
according to this regex:
Removing the \-
makes it work again: https://regex101.com/r/CadP4l/2.
Is it something done on purpose? Is there any other recommended way of defining routes?
Thanks.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Best Practice: Working with Paths in Python - Part 1 - b.telligent
A solution from Python is os.sep or os.path.sep. Both return the path separator of the respective system. They are functionally identical, but the...
Read more >Routes with Dash `-` Instead of Underscore `_` in Ruby on Rails
You can use named routes. It will allow using '-' as word seperators. In routes.rb,
Read more >Params with separator breaking docs · Issue #100 - GitHub
I'm trying to do a route like the one specified in the Fastify docs with two params between a single set of slashes...
Read more >Maximum Path Length Limitation - Win32 apps | Microsoft Learn
A local path is structured in the following order: drive letter, colon, backslash, name components separated by backslashes, and a terminating ...
Read more >Usage of dash (-) in place of a filename - Unix Stack Exchange
The kernel does not recognise - as special so any system calls referring to - as a filename will use - literally as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, the override is working. Didn’t see any bug. Thanks again!
@nicooprat does it work for you?