Fixed broken regex validation on mapping keys.