Skip to content

Commit abb3991

Browse files
committed
More words ending in "ie"
1 parent 0265e4d commit abb3991

File tree

2 files changed

+46
-4
lines changed

2 files changed

+46
-4
lines changed

pluralize.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,8 @@
367367
[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i, '$1fe'],
368368
[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i, '$1f'],
369369
[/ies$/i, 'y'],
370-
[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i, '$1ie'],
370+
[/(dg|ss|ois|lk|ok|wn|mb|th|ch|ec|oal|is|ec|ck|ix|sser|ts|wb)ies$/i, '$1ie'],
371+
[/\b(l|(?:neck|cross|hog|aun)?t|coll|faer|food|gen|goon|group|hipp|junk|vegg|(?:pork)?p|charl|calor|cut)ies$/i, '$1ie'],
371372
[/\b(mon|smil)ies$/i, '$1ey'],
372373
[/\b((?:tit)?m|l)ice$/i, '$1ouse'],
373374
[/(seraph|cherub)im$/i, '$1'],
@@ -474,7 +475,6 @@
474475
'shambles',
475476
'shrimp',
476477
'software',
477-
'species',
478478
'staff',
479479
'swine',
480480
'tennis',

test.js

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ var BASIC_TESTS = [
1717
['police', 'police'],
1818
['sheep', 'sheep'],
1919
['series', 'series'],
20-
['species', 'species'],
2120
['agenda', 'agenda'],
2221
['news', 'news'],
2322
['reindeer', 'reindeer'],
@@ -325,7 +324,6 @@ var BASIC_TESTS = [
325324
['uterus', 'uteri'],
326325
['curriculum', 'curricula'],
327326
['quorum', 'quora'],
328-
['genie', 'genies'],
329327
['genius', 'geniuses'],
330328
['flower', 'flowers'],
331329
['crash', 'crashes'],
@@ -611,6 +609,50 @@ var BASIC_TESTS = [
611609
['slice', 'slices'],
612610
['base', 'bases'],
613611
['database', 'databases'],
612+
['rise', 'rises'],
613+
['uprise', 'uprises'],
614+
['size', 'sizes'],
615+
['prize', 'prizes'],
616+
['booby', 'boobies'],
617+
['hobby', 'hobbies'],
618+
['baby', 'babies'],
619+
['cookie', 'cookies'],
620+
['budgie', 'budgies'],
621+
['calorie', 'calories'],
622+
['brownie', 'brownies'],
623+
['lolly', 'lollies'],
624+
['hippie', 'hippies'],
625+
['smoothie', 'smoothies'],
626+
['techie', 'techies'],
627+
['specie', 'species'],
628+
['quickie', 'quickies'],
629+
['pixie', 'pixies'],
630+
['rotisserie', 'rotisseries'],
631+
['porkpie', 'porkpies'],
632+
['newbie', 'newbies'],
633+
['veggie', 'veggies'],
634+
['bourgeoisie', 'bourgeoisies'],
635+
['party', 'parties'],
636+
['apology', 'apologies'],
637+
['ancestry', 'ancestries'],
638+
['anomaly', 'anomalies'],
639+
['anniversary', 'anniversaries'],
640+
['battery', 'batteries'],
641+
['nappy', 'nappies'],
642+
['hanky', 'hankies'],
643+
['junkie', 'junkies'],
644+
['hogtie', 'hogties'],
645+
['footsie', 'footsies'],
646+
['curry', 'curries'],
647+
['fantasy', 'fantasies'],
648+
['housefly', 'houseflies'],
649+
['falsy', 'falsies'],
650+
['doggy', 'doggies'],
651+
['carny', 'carnies'],
652+
['cabby', 'cabbies'],
653+
['charlie', 'charlies'],
654+
['bookie', 'bookies'],
655+
['auntie', 'aunties'],
614656
// Prototype inheritance.
615657
['constructor', 'constructors'],
616658
// Non-standard case.

0 commit comments

Comments
 (0)