function makeStringRegex(attr) {
    return makeRegex(
        WHITESPACE_BEFORE + attr + ': \'.*\'' + OPTIONAL_COMMA
    );
}
Browserify transform that strips meta attributes out
of the plotly.js bundles