"Dave Burt" <burtdav / hotmail.com> schrieb im Newsbeitrag
news:UJgpc.38870$TT.13050 / news-server.bigpond.net.au...
> I would have thought, from that logic, that you could just as well expect
an
> infinite loop ("XXXXXX...") rather than just "XX" - why does /.*/ not keep
> matching that same 0-char gap at the end?

I thought that for a moment, too.  But he gave the answer already:

> > i guess the difference for
> > the second match is that it does not advance the scanner ptr and can
> therefore
> > know it's done...

Regards

    robert