This Rust procedural macro allows converting a rulex expression to a regex string literal at compile time:
```rust use rulex_macro::rulex;
const REGEX: &str = rulex!(r#" 'foo' | 'bar'+ greedy "#); ```
Errors from rulex are shown at compile time, too, and are highlighted in your IDE.
Dual-licensed under the MIT license or the Apache 2.0 license.