Permalink
Browse files

Merge pull request #1755 from Devaio/master

Update utils.js - extra pluralization rules
  • Loading branch information...
2 parents 45ca311 + 5793124 commit c4a0f28c6a626ea8c678e71d95f47b1abd73b250 @aheckmann aheckmann committed Feb 22, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/utils.js
View
1 lib/utils.js
@@ -54,6 +54,7 @@ exports.pluralization = [
[/(x|ch|ss|sh)$/gi, '$1es'],
[/(matr|vert|ind)ix|ex$/gi, '$1ices'],
[/([m|l])ouse$/gi, '$1ice'],
+ [/(kn|w|l)ife$/gi, '$1ives'],
[/(quiz)$/gi, '$1zes'],
[/s$/gi, 's'],
[/([^a-z])$/, '$1'],

0 comments on commit c4a0f28

Please sign in to comment.