class Regexp::Expression::Group::Base

def capturing?

def capturing?
  [:capture, :named].include?(token)
end

def comment?

def comment?
  type == :comment
end

def to_s(format = :full)

def to_s(format = :full)
  "#{text}#{expressions.join})#{quantifier_affix(format)}"
end