On Jul 28, 2013 4:13 AM, "Bináris" <[email protected]> wrote: > \b in a regex treats letter "é" (which is a correct Hungarian letter) as a word boundary. > Can I prevent this behaviour with some kind of settings?
I don't think I've ever had to worry about that issue myself so I don't know the solution offhand. these links should help. (just googled "python regex locale") http://docs.python.org/2/library/re.html#re.LOCALE http://docs.python.org/2/howto/regex.html#compilation-flags http://stackoverflow.com/questions/12240260/umlauts-in-regexp-matching-via-locale -Jeremy
_______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
