Wenqer/gulp-base64 — pull request #7 by maranomynet (2014-07-08 17:04:54+00:00)
Title: support regular expressions in opts.extensions

I'd like to only inline certain images, and by adding support for RegExp in `opts.extensions` I'm able to name my image files `myimage--datauri.png`, and configure my gulp pipe like so:

.pipe( datauri({
baseDir: 'dist',
extensions: [ (/--datauri\.(?:svg|png|gif|jpg)(?:$|\?)/) ]
}) )