rem: var re = new RegExp().compile('gbLink-' + pluginId + '_'); 
context: function updatePluginState(pluginType, pluginId, state, visualChanges) {    var pluginKey = pluginType + "-" + pluginId;    var icon = document.getElementById("plugin-icon-" + pluginKey);    icon.src = stateData[state]['img.src'];    icon.alt = stateData[state]['img.alt'];    for (var i in allActions) {	if (allActions[i] == "delete" && !pluginData[pluginType][pluginId]["deletable"]) {	    continue;	}	var node = document.getElementById("action-" + allActions[i] + "-" + pluginKey);	if (node) {	    node.style.display = stateData[state]['actions'][allActions[i]] ? 'inline' : 'none';	}    }    var re = new RegExp().compile('gbLink-' + pluginId + '_');    var links = document.getElementsByTagName("li");    for (i in links) {	if (re.test(links[i].className)) {	    links[i].style.display = (state == 'active') ? 'block' : 'none';	}    }    if (visualChanges && stateData[state]['message']) {	addMessage(pluginType, pluginId, stateData[state]['message']['text'], stateData[state]['message']['type']);	if (stateData[state]['callback']) {	    callback = stateData[state]['callback'] + '("' + pluginType + '", "' + pluginId + '")';	    eval(callback);	}    }}
meta: 3727	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3727/c0443e6a4ac057812fa602bf7d304b2138e80e9f/AdminPlugins.js/clean/gallery2/modules/core/templates/AdminPlugins.js