<commit_before>function GETSTATICURL(url) { // , placeHolderValue1, placeHolderValue2, ...
    var placeHolderValues = Array.prototype.slice.call(arguments, 1);
    return url.replace(/\*\*?/g, function () {
        return placeHolderValues.shift();
    });
}

var theOneToGet = 'a',
    theThing = GETSTATICURL('json/*.json', theOneToGet),
    theDoubleStarThing = GETSTATICURL('**/*.json', 'json/subsubdir', 'd'),
    theBracketThing = GETSTATICURL('json/{b,c}.json', 'c');
<commit_msg>Updated the GETSTATICURL implementation in a test to support {...} wildcards.<commit_after>function GETSTATICURL(url) { // , placeHolderValue1, placeHolderValue2, ...
    var placeHolderValues = Array.prototype.slice.call(arguments, 1);
    return url.replace(/\*\*?|\{[^\}]*\}/g, function () {
        return placeHolderValues.shift();
    });
}

var theOneToGet = 'a',
    theThing = GETSTATICURL('json/*.json', theOneToGet),
    theDoubleStarThing = GETSTATICURL('**/*.json', 'json/subsubdir', 'd'),
    theBracketThing = GETSTATICURL('json/{b,c}.json', 'c');

{'fraction_non_alphanumeric': 0.18553758325404376, 'fraction_numerical': 0.005708848715509039, 'mean_word_length': 4.1568627450980395, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6190074', 'n_tokens_mistral': 355, 'n_tokens_neox': 338, 'n_words': 61}