class Rouge::RegexLexer::ClosedState

def to_s

def to_s
  rule = @state.rules.last
  msg = "State :#{state.name} cannot continue after #{rule.inspect}, which will always match."
  if rule.re.source.include?('*')
    msg += " Consider replacing * with +."
  end
  msg
end