[2019-09-02] regex 'g'

I should have know, but, I was tripped by https://stackoverflow.com/questions/15276873/is-javascript-test-saving-state-in-the-regex