« * K @burntsushi.net

Andrew Gallant @burntsushi.net

2026-07-03 13:33 UTC

Note that this macro is NOT for compile time regexes. This is just a terse convenience for compiling a regex once at *runtime* and being able to reuse it without needing to write your own `static`. See github.com/rust-lang/re... and github.com/rust-lang/re... for more details on compile time regexes

Link: `const` Regex compilation · rust-lang regex · Discussion #1012 (github.com/rust-lang/regex/discussions/1012)

A reply in a thread.

5 likes, 0 reposts, 1 replies

3 Next post4 More from @burntsushi.netBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup