lib: don't match `sourceMappingURL` in strings
Prior to this change sourceMappingURL
in string where being matched by the RegExp which caused sourcemaps not be loaded when using the --enable-source-maps
flag. This commit changes the RegExp to match the last occurrence.