--- Regexp (message='My regexp with named captures'): Regexp#to_s: "(?-mix:(?.)(?.))" Regexp#casefold?: false Regexp#named_captures: a: - 1 b: - 2 Regexp#encoding: !ruby/encoding US-ASCII Regexp#fixed_encoding?: false