()
| 65 | } |
| 66 | |
| 67 | fn generic_args_re() -> &'static Regex { |
| 68 | static RE: OnceLock<Regex> = OnceLock::new(); |
| 69 | RE.get_or_init(|| Regex::new(r"<[^>]*>").unwrap()) |
| 70 | } |
| 71 | fn simple_ident_re() -> &'static Regex { |
| 72 | static RE: OnceLock<Regex> = OnceLock::new(); |
| 73 | RE.get_or_init(|| Regex::new(r"^[A-Za-z_]\w*$").unwrap()) |
no test coverage detected