mozilla/rust — pull request #14423 by Kimundi (2014-05-25 16:55:05+00:00)
Title: Change regex! macro to expand to a constexpr, allowing to put it in a static

This patch changes the internals of `Regex` and `regex!()` such that

```rust
static RE: Regex = regex!(...);
```

is valid. It doesn't change anything about the actual regex implementation, it just changes the type to something that can be constructed as a const expression.