Add regex capabilities to redirects
Open
Feature Accepted
- Dominant language
- Go
- Stars
- 8.8k
- Forks
- 383
- PR merge metrics
- No merged PRs in 30d
Description
## Prerequisites
* [x] I am running the latest version. (`up upgrade`)
* [x] I searched to see if the issue already exists.
* [x] I inspected the verbose debug output with the `-v, --verbose` flag.
* [ ] Are you an Up Pro subscriber?
## Description
It would be great to add regex capabilities to redirects like so:
```
redirects: {
"/folder/:slug(regexhere)": {
"location": "https://.../:slug",
"status": 301
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.