()
| 86 | RE.get_or_init(|| Regex::new(r"^[A-Z][A-Z0-9]*(?:_[A-Z0-9]+)+$").unwrap()) |
| 87 | } |
| 88 | fn has_lower_re() -> &'static Regex { |
| 89 | static RE: OnceLock<Regex> = OnceLock::new(); |
| 90 | RE.get_or_init(|| Regex::new(r"[a-z]").unwrap()) |
| 91 | } |
| 92 | /// normalizeCppReturnType: smart-pointer/optional unwrap. |
| 93 | fn ret_wrapper_re() -> &'static Regex { |
| 94 | static RE: OnceLock<Regex> = OnceLock::new(); |
no test coverage detected