in reply to Re: Behavior of /g when there are capture groupsin thread Behavior of /g when there are capture groups
Thanks! I was unaware of that trick.