module Regexp::Expression::Shared

def inspect

def inspect
  [
    "#<#{self.class}",
    pretty_print_instance_variables.map { |v| " #{v}=#{instance_variable_get(v).inspect}" },
    ">"
  ].join
end