Added case insensitive flag.