Re: Diacretical incensitive search

2013-05-20 Thread Jorgen Grahn
On Fri, 2013-05-17, Olive wrote: > One feature that seems to be missing in the re module (or any tools > that I know for searching text) is "diacretical incensitive search". I > would like to have a match for something like this: > re.match("franc", "français

Re: Diacretical incensitive search

2013-05-17 Thread jmfauth
The handling of diacriticals is especially a nice case study. One can use it to toy with some specific features of Unicode, normalisation, decomposition, ... ... and also to show how Unicode can be badly implemented. First and quick example that came to my mind (Py325 and Py332): >>>

Re: Diacretical incensitive search

2013-05-17 Thread Olive
Tanks a lot! -- http://mail.python.org/mailman/listinfo/python-list

Re: Diacretical incensitive search

2013-05-17 Thread Peter Otten
Olive wrote: > One feature that seems to be missing in the re module (or any tools that I > know for searching text) is "diacretical incensitive search". I would like > to have a match for something like this: > > re.match("franc", "français") &

Re: Diacretical incensitive search

2013-05-17 Thread Petite Abeille
On May 17, 2013, at 8:57 AM, Olive wrote: > The algorithm to write such a function is trivial but there are a lot of mark > we can put on a letter. It would be necessary to have the list of "a"'s with > something on it. i.e. "à,á,ã", etc. and this for every letter. Trying to make > such a lis

Diacretical incensitive search

2013-05-17 Thread Olive
One feature that seems to be missing in the re module (or any tools that I know for searching text) is "diacretical incensitive search". I would like to have a match for something like this: re.match("franc", "français") in about the same whay we can have a case