You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regex are often hardcoded, so it would be nice to be able to build a Regex from a static str in a const context to avoid handling error that will never happens. The build step of the regex we be done a compile time and not at runtime.
Describe your feature request
Regex are often hardcoded, so it would be nice to be able to build a Regex from a static str in a const context to avoid handling error that will never happens. The build step of the regex we be done a compile time and not at runtime.
Example with the crate http: http::header::HeaderValue::from_static(&'static str).
The text was updated successfully, but these errors were encountered: