silverstripe/sapphire — pull request #69 by oddnoc (2011-10-25 02:48:45+00:00)
Title: fixes to Image->deleteFormattedImages()

This fixes 2 issues with deleteFormattedImages():

1. The name inserted into a pattern for preg_match needs to be preg_quoted.
2. The search for image-generating methods does not take extensions/decorators into account.