class Regexp::Expression::Group::Options
longer inherit from Group because it is effectively a terminal expression.
TODO: should split off OptionsSwitch in v3.0.0. Maybe even make it no
def initialize_copy(orig)
def initialize_copy(orig) self.option_changes = orig.option_changes.dup super end
def quantify(*args)
def quantify(*args) if token == :options_switch raise Regexp::Parser::Error, 'Can not quantify an option switch' else super end end