pub fn has_acronym_exception(
s: &str,
patterns: &[String],
pre_is_valid: fn(&str) -> bool,
) -> boolExpand description
True if s is <pre><pattern><digits><post> for one of the configured acronym patterns
(e.g. ERC in rescueERC20Tokens), where pre satisfies pre_is_valid and post is
UpperCamelCase. One preserved leading or trailing underscore is tolerated.