title: String.find() words containing wildcards
body: <p>i have a few strings that use the wildcard &quot;-&quot; instead of a space, and, i'm having a hard time in figuring out how to handle those wildcards (first time doing string manipulation in lua)</p>
  <p>here's what i've got:</p>
  <pre><code>string_A = &quot;this-is-a-word&quot;
  
  string_array =
  {
      line_A = &quot;this-is-a-word-but-bigger&quot;
      line_B = &quot;this-is-a-bigger-word&quot;
  }
  
  for _, string_line in pairs(string_array) do
      if string.find(string_line, string_A) then
      ...
  end
  </code></pre>
  <p>Each argument should behave like a single word, which means that the only match would be string_A/line_A as it contains the same block</p>