Add ability to set custom match and replace formats (for e.g. RequireJS data-main use-case