Make regex! generate a constant Regex

Fixes https://github.com/rust-lang/rust/issues/18427