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
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):
>>>
Tanks a lot!
--
http://mail.python.org/mailman/listinfo/python-list
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")
&
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
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