class Rouge::RegexLexer

def self.replace_state(name, new_defn)

def self.replace_state(name, new_defn)
  states[name] = nil
  state_definitions[name] = new_defn
end