Skip to content

Commit

Permalink
Applying patch from 'thatcode', makes the 'us' rule case insensitive. F…
Browse files Browse the repository at this point in the history
…ixes #1020
  • Loading branch information
markstory committed Aug 17, 2010
1 parent 2abf34d commit fc93402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/inflector.php
Expand Up @@ -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',
Expand Down

0 comments on commit fc93402

Please sign in to comment.