Skip to content

Commit

Permalink
Removed duplicate ec from singularization rules (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhayjatindoshi authored Mar 15, 2020
1 parent abb3991 commit e507706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pluralize.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@
[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i, '$1fe'],
[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i, '$1f'],
[/ies$/i, 'y'],
[/(dg|ss|ois|lk|ok|wn|mb|th|ch|ec|oal|is|ec|ck|ix|sser|ts|wb)ies$/i, '$1ie'],
[/(dg|ss|ois|lk|ok|wn|mb|th|ch|ec|oal|is|ck|ix|sser|ts|wb)ies$/i, '$1ie'],
[/\b(l|(?:neck|cross|hog|aun)?t|coll|faer|food|gen|goon|group|hipp|junk|vegg|(?:pork)?p|charl|calor|cut)ies$/i, '$1ie'],
[/\b(mon|smil)ies$/i, '$1ey'],
[/\b((?:tit)?m|l)ice$/i, '$1ouse'],
Expand Down

0 comments on commit e507706

Please sign in to comment.