()
| 115 | RE.get_or_init(|| Regex::new(r"[a-z]").unwrap()) |
| 116 | } |
| 117 | fn single_arg_macro_replacement_re() -> &'static Regex { |
| 118 | static RE: OnceLock<Regex> = OnceLock::new(); |
| 119 | RE.get_or_init(|| Regex::new( |
| 120 | r"^(?:[A-Za-z_][A-Za-z0-9_:]*[ \t\r\n]+)+[*& \t\r\n]*([A-Za-z_][A-Za-z0-9_]*)[ \t\r\n]*\([^(){};#]*\)[ \t\r\n]*$" |
| 121 | ).unwrap()) |
| 122 | } |
| 123 | /// normalizeCppReturnType: smart-pointer/optional unwrap. |
| 124 | fn ret_wrapper_re() -> &'static Regex { |
| 125 | static RE: OnceLock<Regex> = OnceLock::new(); |
no test coverage detected