changeset 2251:4197965b0820

fix: use re.UNICODE for split_regex
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 24 Jun 2007 23:39:12 +0200
parents 07fdbda38be2
children 2c8f25796120
files MoinMoin/config/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/config/__init__.py	Sun Jun 24 23:24:15 2007 +0200
+++ b/MoinMoin/config/__init__.py	Sun Jun 24 23:39:12 2007 +0200
@@ -35,7 +35,7 @@
 charset = 'utf-8'
 
 # Regex to find lower->upper transitions (word boundaries in WikiNames), used by split_title
-split_regex = re.compile('([%s])([%s])' % (chars_lower, chars_upper))
+split_regex = re.compile('([%s])([%s])' % (chars_lower, chars_upper), re.UNICODE)
 
 # Invalid characters - invisible characters that should not be in page
 # names. Prevent user confusion and wiki abuse, e.g u'\u202aFrontPage'.