RegEx不会在Gulp.js中执行

我想知道为什么这个正则expression式不会在Gulp任务中执行。 “replace”任务使用gulp-replace。

正则expression式

/url\((?:["'])?(?:\/?[a-zA-Z0-9])*\/([a-zA-Z0-9]{0,}\.(png|jpeg|jpg))(?:["'])?\)/g 

实际的一揽子任务

 gulp.task('process-sass', function() { return gulp.src('./src/html/**/*.scss') .pipe(sass.sync()) .pipe(replace(/url\((?:["'])?(?:\/?[a-zA-Z0-9])*\/([a-zA-Z0-9]{0,}\.(png|jpeg|jpg))(?:["'])?\)/g, 'url(/src/assets/$1)')) .pipe(minify()) .pipe(rename(function(path) { path.dirname += '/'; path.basename = 'bundle.min'; path.extname = '.css' })) .pipe(gulp.dest('./builds/development')); }); 

所有的帮助非常感谢。 谢谢。