Implement regex_traits::lookup_collatename.