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
We should probably make the regex greedy so that when it's trying to match projectSlug it matches all the way to the next char that doesn't make sense.
I want to have URLs looking like:
/someone/12345-projectslug
I use the following route for it:
This works well, unless there's a dash
-
inside the projectSlugOne solution would be to have a double dash as a delimiter, but this doesn't look as nice, and maybe there's a better solution.
Any help is appreciated!
The text was updated successfully, but these errors were encountered: