Make stream input case insensitive