fixing regex iter