The docs for rRegexp (http://www.ruby-doc.org/core-1.9.3/Regexp.html)
have a example
you need str.scan /#{s}/

cheers