in reply to regexp /gs oddity or bug

Looks like a bug to me, also perl 5.7.3 on linux (latest beta i've got installed here) WILL match multiple times on your code.

Joost.