I extended $regsub() and $regsubex() in the latest beta, however in order to maintain backwards compatibility, I made as few changes as possible to both - $regsubex() in particular will need testing to make sure it doesn't break anything.