silverstripe/silverstripe-framework — pull request #3302 by JayDevlin (2014-07-17 13:42:14+00:00)
Title: FIX Image: deleteFormattedImages() regex

Resampled images could include names without a size argument, such as CMSThumbnail-test_image.png.
And also could include names with a size and a hex color code, such as PaddedImage200100FFFFFF-test_image.png.

This makes arguments after the function name optional.