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

Support Regex #10

Closed
ghost opened this issue Oct 21, 2020 · 1 comment · Fixed by #12
Closed

Support Regex #10

ghost opened this issue Oct 21, 2020 · 1 comment · Fixed by #12
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Oct 21, 2020

Regex support would be great, so you can do things like this:

/product1/* -> new product1 url.

Even a starts-with type regex would be helpful.

There may be also times it would be helpful to have intermediate wildcards for things like locales.

I understand this isn't feasible with the current way you are handling the query/storage of redirects in KV... but maybe it's worth looking at changing that?

Instead of Key-per-entry, you could do everything in one key and then filter it?

@kristianfreeman
Copy link
Owner

Agreed that this should happen. I think we can support this via the work in #11, though I haven't necessarily scoped this as part of that MVP. Thanks for filing!

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

Successfully merging a pull request may close this issue.

1 participant