()
| 114 | RE.get_or_init(|| Regex::new(r"\s+").unwrap()) |
| 115 | } |
| 116 | fn simple_ident_re() -> &'static Regex { |
| 117 | static RE: OnceLock<Regex> = OnceLock::new(); |
| 118 | RE.get_or_init(|| Regex::new(r"^[A-Za-z_][A-Za-z0-9_]*$").unwrap()) |
| 119 | } |
| 120 | /// recoverMangledCppName's `Ret (name)` idiom guard. |
| 121 | fn ret_paren_name_re() -> &'static Regex { |
| 122 | static RE: OnceLock<Regex> = OnceLock::new(); |
no test coverage detected