class RuboCop::Cop::Naming::InclusiveLanguage

def set_regexes(flagged_term_strings, allowed_strings)

def set_regexes(flagged_term_strings, allowed_strings)
  @flagged_terms_regex = array_to_ignorecase_regex(flagged_term_strings)
  @allowed_regex = array_to_ignorecase_regex(allowed_strings) unless allowed_strings.empty?
end