require 'debug_helper' regexp = Regexp.new(/(?.)(?.)/) DebugHelper.show(regexp, 'My regexp with named captures')