Ho il seguente codice che funziona in Python 2.7:Python regex caso dividere insensibile a 2.6
entry_regex = '(' + search_string + ')'
entry_split = re.split(entry_regex, row, 1, re.IGNORECASE)
ho bisogno di farlo funzionare in Python 2.6, così come in Python 2.7 e 2.6 re.split doesn' t accettare un flag (re.IGNORASE) come quarto parametro. Qualsiasi aiuto? Grazie