rem:       str = str.replace(l1, "$1" + pre + "$2" + mid + "$2" + post + "$4"); 
context: function activateLinks (str) {   var pre = "<a href=\"";   var mid = "\">";   var post = "</a>";   var l1 = new RegExp("(^|\\s)([fhtpsr]+:\\/\\/[^\\s]+?)([\\.,;\\)\\]\"]?(\\s|$))");   l1.ignoreCase = true;   l1.global = true;      // this is odd, but we have to run the regexp twice to catch URLs    // which imediately follow each other. This is because the leading    // and trailing whitespaces are part of the expression, and if there's only    // one whitespace character between two URLs, the first match eats it up    // and the second URL doesn't match.   str = str.replace(l1, "$1" + pre + "$2" + mid + "$2" + post + "$4");   str = str.replace(l1, "$1" + pre + "$2" + mid + "$2" + post + "$4");   // because of caching of text i had to disable the following   // it's now done in text_macro() of comment and story   // and in title_macro() of story   // do Wiki style substitution   // return (doWikiStuff (str));   return (str);}
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/993/a87e34abd7b37569680c0200e2af3e82c6516f72/objectFunctions.js/buggy/code/Global/objectFunctions.js