doctrine / inflector

Doctrine Inflector is a small library that can perform string manipulations with regard to uppercase/lowercase and singular/plural forms of words.
https://www.doctrine-project.org/projects/inflector.html
MIT License
11.26k stars 137 forks source link

Singularize regattas to regatta instead of regattum #243

Closed discern closed 8 months ago

discern commented 8 months ago

While using Laravel Shift's Blueprint, I encountered an issue with the word "regatta" not being inflected properly (the singularizer was changing the plural from "regattas" to "regattum"). The updated pattern should solve it in this case. I added a few other words to the test, as well.