title: lua variable in pattern match
body: <p>Im just wondering if it is possible to put a variable in a pattern match in Lua. Like something similar to the following:</p>
  
  <pre><code>var = "hello"
  pattern = string.match(datasource, "(var)%s(a%+)")
  </code></pre>
  
  <p>The reason I need to do this is because the variable "var" will change periodically. (it will be in a loop)</p>
  
  <p>Cheers in advance</p>