Re: regex and IGNORECASE

2007-11-26 Thread John Machin
On Nov 26, 9:53 pm, Yann Le Boulanger <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a problem with regex , utf-8 chars and IGNORECASE > > >>> re.search(u'é', u'qwért', re.IGNORECASE) > <_sre.SRE_Match object at 0x2ed0c100> > > Here everything is ok. > > >>> re.search(u'É', u'qwért', re.IGNO

regex and IGNORECASE

2007-11-26 Thread Yann Le Boulanger
Hi all, I have a problem with regex , utf-8 chars and IGNORECASE >>> re.search(u'é', u'qwért', re.IGNORECASE) <_sre.SRE_Match object at 0x2ed0c100> Here everything is ok. >>> re.search(u'É', u'qwért', re.IGNORECASE) Here that doesn't work. but: >>> print u'é'.upper() É is it a bug in