Revert "update regex when replacing paths in resources - @garoevans"

This reverts commit a22353db404bff5821def89619597046b76575b1.