Fix ReGex from #4894 . Thanks JM!