pluralize bug

“territories”.pluralize => “territory” “queries”.pluralize => “query”

This matches the rule: [/([^aeiouy]|qu)ies$/i, “\1y”

Is this a bug, or are there times where a word ending in “ies” should be pluralized with “y”?

mark