1、optimize handle regexp in utilities
2、separate the error handling when create source map.