This wasn't being done correctly, let's see if this fixes it.

This commit is contained in:
Jeremy Fincher 2004-09-24 01:23:48 +00:00
parent 78da84e4cb
commit b0931ea0ec
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ def pluralize(s, i=2):
return matchCase(s, s+'es')
# Words ending with a consonant followed by a 'y' such as
# 'try (tries)' or 'spy (spies)'
elif re.search(_pluralizeRegex, lowered):
elif _pluralizeRegex.search(lowered):
return matchCase(s, s[:-1] + 'ies')
# In all other cases, we simply add an 's' to the base word
else: