in reply to Re: 1 while s/// vs s///g
in thread 1 while s/// vs s///g

I had a strange vision of pumping lemmings when I read that...

Seriously, the while loop is also different (doesn't matter here but does in more real code where a s//g is the condition of a while with a non-empty body) because without the /g modifier the pos will not be set and /G doesn't work.

—John