class RuboCop::Cop::AnnotationComment

def split_comment(comment)

def split_comment(comment)
  # Sort keywords by reverse length so that if a keyword is in a phrase
  # but also on its own, both will match properly.
  match = comment.text.match(regex)
  return false unless match
  match.captures
end