« * K @burntsushi.net

Andrew Gallant @burntsushi.net

2026-07-03 13:33 UTC

I'd like to add a simple macro to `regex` for building a regex once and then using it via `LazyLock` (or similar). But I'm having trouble with the name. Should it be `regex::regex!(..)` or `regex::re!(..)` or something else? See pictures for before and after.

2 pictures (not shown on this phone)

9 likes, 0 reposts, 3 replies

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