title: Pattern in lua with anchors not matching
body: <p>Why this does not match? I want to match the exact pattern 2 letters followed by 3 numbers</p>
  
  <pre><code>   s = "dd123"
     for w in string.gmatch(s, "^%a%a%d%d%d$") do
        print(w)
        matched = true
      end 
  </code></pre>