I have the following code that works in Python 2.7:
entry_regex = '(' + search_string + ')'
entry_split = re.split(entry_regex, row, 1, re.IGNORECASE)
I need to get it to work in Python 2.6, and also in Python 2.7 and 2.6 re.split does not accept the flag (re.IGNORECASE) as the fourth parameter. Any help? Thanks
source
share