Make source map regex support trailing newlines

Transforms like coffeeify add a trailing newline to source maps.
(https://github.com/jnordberg/coffeeify/blob/deae403ff6807b741d51f0ed8c0b4015a9d95986/index.js#L67)