rem: var src= " "+src;      
context: function doWikiStuff (src) {   var src= " "+src;   // set up reg exp for http link stuff   // var linkexp = new RegExp ("([^=^\"])(http://[^ ^\r^\n^\"]*)");   // linkexp.ignoreCase=true;   // linkexp.global=true;   // do the Wiki link thing, *asterisk style*   var regex = new RegExp ("[*]([a-z0-9][a-z0-9 ]*[a-z0-9])[*]");   regex.ignoreCase=true;   var text = "";   var start = 0;   while (true) {      var found = regex.exec (src.substring(start));      var to = found == null ? src.length : start + found.index;      // text += src.substring(start, to).replace (linkexp, "$1<a href=\"$2\">$2</a>");      text += src.substring(start, to);      if (found == null)         break;      var name = found[1];      var item = path.weblog.space.get (name);      if (item == null && name.lastIndexOf("s") == name.length-1)         item = path.weblog.space.get (name.substring(0, name.length-1));      if (item == null || !item.size())         text += format(name)+" <small>[<a href=\""+path.weblog.stories.href("create")+"?topic="+escape(name)+"\">define "+format(name)+"</a>]</small>";      else         text += "<a href=\""+item.href()+"\">"+name+"</a>";      start += found.index + found[1].length+2;   }   return text;}
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/993/aae4bad0f9949a08461344590f06bdf5fdf6e164/renderFunctions.js/clean/code/Global/renderFunctions.js