From b0931ea0ece4297a177df947979c4ba83887d907 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 24 Sep 2004 01:23:48 +0000 Subject: [PATCH] This wasn't being done correctly, let's see if this fixes it. --- src/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.py b/src/utils.py index 57b741fcb..021d796dc 100755 --- a/src/utils.py +++ b/src/utils.py @@ -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: