On Jul 28, 2013 4:13 AM, "Bináris" wikiposta@gmail.com 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-l...
-Jeremy