--- In [email protected], "Sheri" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "brucexs" <bswitzer@> wrote: > > > I also don't understand how extract is supposed to work. > > local num=re.create(pat).Extract(myreplace, "s", "out")
Try plain s, not "s". MY understanding is that this argument is not supposed to change, hence it is called without quotes. In the test script I posted, I forgot to escape the \. Does it work the right way if you just plain s? How about if myreplace is *\0*? Or is that the same as *\1* since there is only one match?
