Hello Thanks a lot everybody for your time. I was also trying re.findall(r'\bdeutsche[rn]? Reich\b', t, re.LOCALE) and that did not work but with re.U it works. So not changes are needed after all.
Greetings Hannes 2009/6/28 Francesco Cosoleto <[email protected]>: > [...] > > Please, let me explain why something has slipped to me and I was talking > about bug... :-/ Unlike findall() or search() or match() methods, sub() > hasn't flag parameter, but I was just putting re.UNICODE and re.LOCALE > flags there anyway... Besides, replace.py is supposed to compile all the > regexps with the re.UNICODE flag by default. > > Mmm... Probably this is the last my email to mailing-list. I am going to > to hide my self for shame. > > -- > Francesco Cosoleto > > «Nessuno, eccetto il teorico stesso, crede nelle sue teorie; > tutti credono ai risultati di laboratorio, eccetto lo > sperimentatore». (Albert Einstein) > > _______________________________________________ > Pywikipedia-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l > _______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
