Removing double variable definition.

This commit is contained in:
Mathias Behrle
2014-07-14 14:48:12 +02:00
parent e90a60efe3
commit 79f03d9907

View File

@@ -10,8 +10,6 @@ class LanguageBackend(BackendBase):
def check_word(self, word):
ALL_ALPHANUM = re.compile('([0-9a-zäöüß])', re.I)
NON_ALPHANUM = re.compile('([^0-9a-zäöüß])', re.I)
ALL_ALPHANUM = re.compile('([0-9a-z])', re.I)
NON_ALPHANUM = re.compile('([^0-9a-z])', re.I)
TOO_MANY_VOWELS = re.compile('[aäeioöuü]{4}', re.I)
TOO_MANY_CONSONANTS = re.compile('[bcdfghjklmnpqrstvwxyz]{4}', re.I)