this.addInternalProcessor((/<em[^>]*>(\s*)(.*?)(\s*)<\/em>/gi), '$1~~$2~~$3'); 
this.addInternalProcessor((/<em[^>]*>(\s*)(.*?)(\s*)<\/em>/i), 'convertItalicTextInternal'); 
WikiEditor.prototype.initCorePlugin = function() {	// External/Internal conversion setup    this.addExternalProcessor((/^\s*(1(\.1)*)\s+([^\r\n]*)$/im), 'convertHeadingExternal');	this.addInternalProcessor((/\s*<h3\s*([^>]*)>([\s\S]+?)<\/h3>/i), 'convertHeadingInternal');    this.addInternalProcessor((/<p[^>]*>&nbsp;<\/p>/gi), "");    this.addExternalProcessor((/^\s*((\*+)|#|(1\.))\s+([^\r\n]+)$/im), 'convertListExternal');	this.addInternalProcessor((/\s*<(ul|ol)\s*([^>]*)>/i), 'convertListInternal');	this.addExternalProcessor((/^s*----(\-)*\s*$/gim), '<hr class="line" \/>');	this.addInternalProcessor((/<hr[^>]*>/gi), '----');    // Must remove the html tag format so it won't interfere with paragraph conversion	this.addExternalProcessor((/<%([\s\S]+?)%>/ig), '&lt;%$1%&gt;');    this.addExternalProcessor((/((\s|\S)*)/i), 'convertParagraphExternal');	this.addInternalProcessor((/<\s*p\s*([^>]*)>(.*?)<\s*\/\s*p\s*>/gi), '\r\n$2\r\n');    this.addExternalProcessor((/\[(.*?)(>(.*?))?(>(.*?))?\]/i), 'convertLinkExternal');	this.addInternalProcessor((/<a\s*([^>]*)(class=\"wikiexternallink\"|class=\"wikilink\")\s*([^>]*)>(.*?)<\/a>/i), 'convertLinkInternal');    this.addExternalProcessor((/\{table\}([\s\S]+?)\{table\}/i), 'convertTableExternal');    this.addInternalProcessor((/<table\s*([^>]*)class=\"wiki-table\"\s*([^>]*)>([\s\S]+?)<\/table>/i), 'convertTableInternal');    this.addExternalProcessor((/\*(\s*)(.+?)(\s*)\*/gi), '$1<b class="bold">$2<\/b>$3');    this.addInternalProcessor((/<strong[^>]*>(\s*)(.*?)(\s*)<\/strong>/gi), '$1*$2*$3');	this.addExternalProcessor((/~~(\s*)(.+?)(\s*)~~/gi), '$1<i class="italic">$2<\/i>$3');	this.addInternalProcessor((/<em[^>]*>(\s*)(.*?)(\s*)<\/em>/gi), '$1~~$2~~$3');    this.addExternalProcessor((/__(\s*)(.+?)(\s*)__/gi), '$1<u>$2<\/u>$3');    this.addInternalProcessor((/<u[^>]*>(\s*)(.*?)(\s*)<\/u>/gi), '$1__$2__$3');    this.addExternalProcessor((/\\\\/gi), '<br />');    this.addInternalProcessor((/<br\s*\/>|<br\s*>/gi), '\\\\');    this.addExternalProcessor((/--(\s*)(.+?(\s*))--/gi),  '$1<strike class="strike">$2<\/strike>$3');	this.addInternalProcessor((/<strike[^>]*>(\s*)(.*?)(\s*)<\/strike>/gi), '$1--$2--$3');	this.addInternalProcessor((/[#$][a-zA-Z0-9-_.]+\(([^&)]*&quot;[^)]*)+?\)/i), 'convertVelocityScriptsInternal');    this.addInternalProcessor((/&lt;%([\s\S]+?)%&gt;/i), 'convertGroovyScriptsInternal');    this.addExternalProcessorBefore('convertParagraphExternal', (/##([^\r\n]*)$|(#\*([\s\S]+?)\*#)/im), 'convertVelocityCommentExternal');    this.addInternalProcessorBefore('convertStyleInternal', (/<span\s*([^>]*)class=\"vcomment\"\s*([^>]*)>([\s\S]+?)(\r?\n?)<\/span>/i), 'convertVelocityCommentInternal');    this.addExternalProcessorBefore('convertTableExternal', (/\{style:\s*(.*?)\}([\s\S]+?)\{style\}/i), 'convertStyleExternal');    this.addInternalProcessorBefore('convertTableInternal', (/<(font|span|div)\s*(.*?)>([\s\S]+?)<\/(font|span|div)>/i), 'convertStyleInternal');    //this.addInternalProcessor((/&nbsp;(?!\|)/gi), "");    this.setHtmlTagRemover('removeHtmlTags_Groovy');    this.setHtmlTagRemover('removeSpecialHtmlTags');    // Toolbar handlers	this.addToolbarHandler('handleTextButtons');	this.addToolbarHandler('handleListButtons');    this.addToolbarHandler('handleIndentButtons');    this.addToolbarHandler('handleUndoButtons');	this.addToolbarHandler('handleTitlesList');	this.addToolbarHandler('handleLinkButtons');    this.addToolbarHandler('handleTableButtons');    // Add Comands and Fix Commands(workarounds)	this.addCommand('Title', 'titleCommand');	this.addFixCommand('Title', 'fixTitle');	this.addFixCommand("InsertUnorderedList", 'fixInsertUnorderedList');	this.addFixCommand("Indent", 'fixInsertUnorderedList');}
6184	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6184/c1cc5291b24e85bdf4233b52de1c8b4934ae94b8/core.js/buggy/xwiki-platform-web/standard/src/main/webapp/wiki_editor/plugins/core.js