title: Ruby partial word match
body: <p>I need help finding a partial word match. It should return words that match three consecutive letters to the target. For example:</p>
  
  <pre><code>WORDS = ["born", "port" ,"cort", "mort"]
  find_match("corn", WORDS)  =&gt;  returns  ["born", "cort"]
  </code></pre>
  
  <p>should find partial matches for <code>"corn"</code>. And "b <strong>orn</strong> ", and " <strong>cor</strong> t" match.</p>
  
  <p>Regular expressions may not be the best to solve such problem. If you have other ideas, feel free to share.</p>