function getRefsFromTarget()

in grafana/panels/graph.js [129:138]


function getRefsFromTarget(target) {
    const refMatchRegex = /.*?#(\w)[,)]/g;
    const refs = [];
    let matches;

    while (matches = refMatchRegex.exec(target)) {
        refs.push(matches[1]);
    }
    return refs;
}