Updated regexp example to modern Rust as well