class Regexp::Expression::Subexpression
def each_expression_without_index(&block)
def each_expression_without_index(&block) each do |exp| block.call(exp) exp.each_expression_without_index(&block) unless exp.terminal? end end
def each_expression_without_index(&block) each do |exp| block.call(exp) exp.each_expression_without_index(&block) unless exp.terminal? end end