rem: return "label=regexp:" + label.replace(/\s+/g, function(str) { 
add: return "label=regexp:" + label.replace(/[\(\)\[\]\\\^\$\*\+\?\.\|\{\}]/g, function(str) {return '\\' + str}) .replace(/\s+/g, function(str) { 
context: Recorder.prototype.getOptionLocator = function(option) {    var label = option.text.replace(/^ *(.*?) *$/, "$1");    if (label.match(/\xA0/)) { // if the text contains &nbsp;        return "label=regexp:" + label.replace(/\s+/g, function(str) {                if (str.match(/\xA0/)) {                    if (str.length > 1) {                        return "\\s+";                    } else {                        return "\\s";                    }                } else {                    return str;                }            });    } else {        return "label=" + label;    }}
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3428/48a39914f9ae277dd86c2a30b4fba104f24b8752/recorder-handlers.js/clean/src/content/recorder-handlers.js