remove 'i' from regex