Permalink
Browse files

Applying patch from 'thatcode', makes the 'us' rule case insensitive.…

… Fixes #1020
  • Loading branch information...
1 parent 2abf34d commit fc9340213e2907fe22625dbe9e356ecb5745866d @markstory markstory committed Aug 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/inflector.php
View
@@ -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',

0 comments on commit fc93402

Please sign in to comment.