Applying patch from 'thatcode', makes the 'us' rule case insensitive. Fixes #1020

This commit is contained in:
mark_story 2010-08-16 22:25:55 -04:00
parent 2abf34d93e
commit fc9340213e

View file

@ -56,7 +56,7 @@ class Inflector {
'/(c)hild$/i' => '\1hildren',
'/(buffal|tomat)o$/i' => '\1\2oes',
'/(alumn|bacill|cact|foc|fung|nucle|radi|stimul|syllab|termin|vir)us$/i' => '\1i',
'/us$/' => 'uses',
'/us$/i' => 'uses',
'/(alias)$/i' => '\1es',
'/(ax|cris|test)is$/i' => '\1es',
'/s$/' => 's',