Added -i command line option for case insensitive regex match