()
| 129 | }) |
| 130 | } |
| 131 | fn ret_keyword_re() -> &'static Regex { |
| 132 | static RE: OnceLock<Regex> = OnceLock::new(); |
| 133 | RE.get_or_init(|| Regex::new(r"\b(?:const|volatile|typename|struct|class|enum)\b").unwrap()) |
| 134 | } |
| 135 | fn angle_group_re() -> &'static Regex { |
| 136 | static RE: OnceLock<Regex> = OnceLock::new(); |
| 137 | RE.get_or_init(|| Regex::new(r"<[^>]*>").unwrap()) |
no test coverage detected