class Regexp::Syntax::Base
def inherited(subclass)
def inherited(subclass) super subclass.features = features.to_h.map { |k, v| [k, v.dup] }.to_h end
def inherited(subclass) super subclass.features = features.to_h.map { |k, v| [k, v.dup] }.to_h end