rails/rails — pull request #3901 by mark-rushakoff (2011-12-08 07:27:04+00:00)
Title: Fix inflection regexes for mouse, mice

The regexes were previously (similar to) `/([m|l])ouse$/`. The square brackets treat the `|` as a literal character to match, so if anyone tried to e.g. pluralize `|ouse` they would receive `|ice`.

The author's intent was obviously to use `(m|l)` without treating `|` as a special character, so that is what this patch does.