Rust regex engine internals as a library(burntsushi.net) Over the last several years, I’ve rewritten Rust’s regex crate to enable better internal composition, and to make it easier to add optimizations while maintaining correctness.
Giving C++ std:regex a C makeover(nullprogram.com) Suppose you’re working in C using one of the major toolchains — that is, it’s mainly a C++ implementation — and you need regular expressions. You could integrate a library, but there’s a regex implementation in the C++ standard library included with your compiler, just within reach. As a resourceful engineer, using an asset already in hand seems prudent. But it’s a C++ interface, and you’re using C instead of C++ for a reason, perhaps _to avoid dealing with C++_. Have no worries. This article is about wrapping [`std::regex`](https://en.cppreference.com/w/cpp/regex) in a tidy C interface which not only hides all the C++ machinery, but _utterly tames it_. It’s not so much practical as a potpourri of interesting techniques.