supercat666's picture
fixed igv
a5f860b
raw
history blame
190 Bytes
var DATA_URI_PATTERN = /^data:(\S*?)?(;charset=(?:(?!;charset=)[^;])+)?(;[^,]+?)?,(.+)/;
function matchDataUri(uri) {
return DATA_URI_PATTERN.exec(uri);
}
module.exports = matchDataUri;