const-regex
Proc macro to match regexes in const fns. The regex must be a string literal, but the bytes matched can be any value.
The macro expects an &[u8]
, but you can easily use str::as_bytes
.
const
assert!;
assert!;
Proc macro to match regexes in const fns. The regex must be a string literal, but the bytes matched can be any value.
The macro expects an &[u8]
, but you can easily use str::as_bytes
.
const
assert!;
assert!;