title: How use Lua patten for get all string?
body: <p>I want to get all the strings of a script, I tried to use patten, but in some cases it can give errors</p>
  
  <p>If anyone can help me or give me a tip I would be grateful</p>
  
  <p>I try it:</p>
  
  <pre class="lang-lua prettyprint-override"><code>Teste = [[
  A = "&amp;";
  B = '"'
  C = '"'
  print("'".."'"..'"'..'"')
  ]]
  for string in Teste:gmatch('%"(.-)%"') do
  
  print(string) --[[
  &amp;
  '
  C = '
  '
  '
  '..']]
  end
  </code></pre>