carlhoerberg/sprockets-urlrewriter — pull request #4 by brewster1134 (2012-05-15 19:59:35+00:00)
Title: prevents matching to SASS or Rails image-url/image_url helper methods

since preprocessors are processed before extension processors, any asset with image_url helpers are matched and replaced. this updated regex (with tests :) looks ahead to make sure `url` is not preceded by a `-` or `_`