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
{{ message }}
Repository navigation
singularize() returns "psychoanalyasis" for "psychoanalyses" #4187
This happens on every engine. singularize("analyses") is correct, because an earlier rule, (^analy)ses$, catches it first.
Cause. The singularize rule ((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$ → \1\2sis in vendor/wheels/global/strings.cfm adds group 2, the leading a of the analy alternative, a second time. For the other alternatives group 2 is empty, so bases, theses and the rest are unaffected.
Fix. Use (analy|ba|diagno|parenthe|progno|synop|the)ses$ → \1sis. Output changes only for words like psychoanalyses.
Activity