silverstripe/sapphire — pull request #75 by oddnoc (2011-10-25 17:04:57+00:00)
Title: fixes to Image->deleteFormattedImages() [corrected]

Resubmitting to correct branch (was master; is 2.4).

This fixes 2 issues with Image->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.