postcss 0.0.2

🚀 Fast and 100% API compatible postcss replacer
Documentation
1
2
3
4
5
6
7
#[macro_export]
macro_rules! regex {
  ($re:literal $(,)?) => {{
    static RE: once_cell::sync::OnceCell<regex::Regex> = once_cell::sync::OnceCell::new();
    RE.get_or_init(|| regex::Regex::new($re).unwrap())
  }};
}