split string 'fooxyzbar' based on case-insensitive matching using string 'xyz',"re.compile('XYZ', re.IGNORECASE).split('fooxyzbar')"