# File lib/xml/xpath.rb, line 840
    def contain?(s)
      /#{Regexp.quote(s)}/ =~ @value
    end