We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
woman
1 parent 1c29c38 commit 575eb55Copy full SHA for 575eb55
1 file changed
lib/inflection.js
@@ -347,7 +347,7 @@
347
348
var regex = {
349
plural : {
350
- men : new RegExp( '^(m)en$' , 'gi' ),
+ men : new RegExp( '^(m|wom)en$' , 'gi' ),
351
people : new RegExp( '(pe)ople$' , 'gi' ),
352
children : new RegExp( '(child)ren$' , 'gi' ),
353
tia : new RegExp( '([ti])a$' , 'gi' ),
@@ -381,7 +381,7 @@
381
},
382
383
singular : {
384
- man : new RegExp( '^(m)an$' , 'gi' ),
+ man : new RegExp( '^(m|wom)an$' , 'gi' ),
385
person : new RegExp( '(pe)rson$' , 'gi' ),
386
child : new RegExp( '(child)$' , 'gi' ),
387
ox : new RegExp( '^(ox)$' , 'gi' ),
@@ -1065,7 +1065,7 @@
1065
/**
1066
* @public
1067
*/
1068
- inflector.version = '1.7.0';
+ inflector.version = '1.7.1';
1069
1070
return inflector;
1071
}));
0 commit comments