lib/util.js
function unmaskName (name, mask, lang) {
    return mask
        .replace(/\?/g, name)
        .replace(/\{lang\}/g, lang);
}
function unmaskName (name, mask, lang) {
    return mask
        .replace(/\?/g, name)
        .replace(/\{lang\}/g, lang);
}
function unmaskName ( name , mask , lang ) { return mask . replace ( / \? / g , name ) . replace ( / \{lang\} / g , lang ) ; }
Unmask name. E.g., for name "index" will replace "_?.js" to "_index.js".
@param {String} name
@returns {String}
Unmask name . E . g . for name index will replace _? . js to _index . js .