You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, I think there's an inconsistency with pluralization and I'm asking your opinion about this.
"MatrixValue".Pluralize() returns a value of "MatricesValue". I expected it to be "MatrixValues" but... ok. "VertexValue".Pluralize() returns a value of "VertexValues" instead, which is not consistent with the above.
So, which one of the two is correct?
I think the issue is in the regexp here
Hello everyone, I think there's an inconsistency with pluralization and I'm asking your opinion about this.
"MatrixValue".Pluralize()
returns a value of"MatricesValue"
. I expected it to be"MatrixValues"
but... ok."VertexValue".Pluralize()
returns a value of"VertexValues"
instead, which is not consistent with the above.So, which one of the two is correct?
I think the issue is in the regexp here
Humanizer/src/Humanizer/Inflections/Vocabularies.cs
Line 41 in 40f49fa
Shouldn't it be...
...or, in case you wanted a non-capturing group...
That would consistently yield
MatrixValues
andVertexValues
.Thanks.
The text was updated successfully, but these errors were encountered: