regular 0.1.1

Regular Expression Manipulation and Analysis
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[cfg(test)]
macro_rules! trace {
    ($($arg:tt)*) => {{
        println!($($arg)*);
    }}
}

#[cfg(not(test))]
macro_rules! trace {
    ($($arg:tt)*) => {{
        // Wrap format! so we get IDE formatting of the format string, but don't actually run any
        // code unless we're testing.
        if false { format!($($arg)*); }
    }};
}