lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



    pat = P{
      "e";
      e = "r" + V"t",
      t = {
        "y",
        y = "z"
      }
    }
 
  
    pat:match"z" -->2

This works too, btw, ie, the "y" match isn't because of "y" being defined as the first pattern.