Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

priority between /something/(.*) and /something/abc #89

Closed
umputun opened this issue Jun 8, 2021 · 0 comments
Closed

priority between /something/(.*) and /something/abc #89

umputun opened this issue Jun 8, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@umputun
Copy link
Owner

umputun commented Jun 8, 2021

Currently, the logic will sort rules by len and will prioritize /something/(.). Sure, it can be addressed with the proper regex exclusion, i.e. /something/((?!abc$).) but it would be helpful to strip the group part before we do sorting, so it will consider /something/(.*) as /something/ and will automatically put it below /something/abc

@umputun umputun added the enhancement New feature or request label Jun 8, 2021
@umputun umputun self-assigned this Jun 8, 2021
@umputun umputun closed this as completed Jun 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant