joomla/joomla-cms — pull request #335 by dongilbert (2012-08-28 15:07:40+00:00)
Title: Fix JModel regex

The JModel regex that guesses option from model class name doesn't take
into account models that may end in the word "Model." ie: AutosModelModel

This new regex fixes that.