Compiler: Fixes sourcemap regex. (#1123)