diff options
Diffstat (limited to 'babel/plural.py')
-rw-r--r-- | babel/plural.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/babel/plural.py b/babel/plural.py index 99e9a65..a23f8b5 100644 --- a/babel/plural.py +++ b/babel/plural.py @@ -321,7 +321,7 @@ class RuleError(Exception): _VARS = 'nivwft' _RULES = [ - (None, re.compile(r'\s+(?u)')), + (None, re.compile(r'\s+', re.UNICODE)), ('word', re.compile(r'\b(and|or|is|(?:with)?in|not|mod|[{0}])\b' .format(_VARS))), ('value', re.compile(r'\d+')), |