title: Regex match between two arrays of strings
body: <p>I have two arrays</p>
  
  <pre><code>sentences_ary = ['This is foo', 'bob is cool'] 
  
  words_ary = ['foo', 'lol', 'something']
  </code></pre>
  
  <p>I want to check if any element from <code>sentences_ary</code> matched any word from <code>words_ary</code>.</p>
  
  <p>I'm able to check for one work, but could not do it with <code>word_ary</code>.</p>
  
  <pre><code>#This is working
  ['This is foo', 'bob is cool'].any? { |s| s.match(/foo/)} 
  </code></pre>
  
  <p>But I'm not able to make it work with ary of ary regex. I'm always getting true from this:</p>
  
  <pre><code># This is not working    
  ['This is foo', 'bob is cool'].any? { |s| ['foo', 'lol', 'something'].any? { |w| w.match(/s/) } }
  </code></pre>
  
  <p>I'm using this in the <code>if</code> condition.</p>