pub fn locale_tag_accepts(tag: &str) -> boolExpand description
Whether tag satisfies LocaleTag’s refinement — the check behind
bynk.messages.invalid_locale_tag. Evaluated with the same regex-engine
semantics (regress, anchored, no flags) the emitted new RegExp(...)
runs under, so a tag accepted here is one the runtime cast is honest about.