wtf std::regex ???

No idea what's up but this fixes the recent test failures on my box. Not meant for inclusion!