Skip to content

Add ** splat that matches path separators #2284

@tamorim

Description

@tamorim

Hi!

I have an application which needs to route an unknown number of categories.
I use the route like this: /*/c.
But, there's some problem in the matching, because if I have a path like this: /you/are/cool/c.
He prints the warning of the title of this issue on the console.
But like this: /you/are/okay/c works fine.

This is due to the non-greedy nature of the splat param?
Is there any way to get around it or to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestUsed to close PRs that haven't gone through/been accepted the Proposal process yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions