title: Lua string.find correct format?
body: <p>I have quite simple question, but my google research did not help.. I am pretty new to Lua, so..</p>
  
  <p>I have string "XXXX_YYYYYY_zzzzzz" stored in local variable and I want to parse it and get 3 new local variables. Should I use string.find?</p>
  
  <pre><code>local str_ = "XXXX_YYYYY_zzzzzz"    
  local first_, second_, third_ = strind.find(str_, "^(%w+)_(%w+)_(%w+)$")
  </code></pre>