# File lib/bson/types/regex.rb, line 52
    def inspect
      "#<BSON::Regex:0x#{self.object_id} " <<
      "@pattern=#{@pattern}>, @options=#{@options}>"
    end