Closed dbanty closed 3 months ago
Turns out we actually have a concession here in that the errors are strictly worse with the unicode
feature disables. Only those who explicitly disable it will see them though, so I'm okay with it.
13 | #[get("/{}")]
| ^^^^^^^^^^^^^
|
- = help: message: Wrong path pattern: "/{}" regex parse error:
- ((?s-m)^/(?P<>[^/]+))$
- ^
- error: empty capture group name
+ = help: message: Wrong path pattern: "/{}" empty capture group names are not allowed
PR Type
Bug Fix
PR Checklist
Overview
This should allow you to omit the
regex
dependency when usingactix-web
4.6.0 with themacros
feature enabled (and nounicode
).