context: var _StripLinkDefinitions = function(text) {//// Strips link definitions from text, stores the URLs and titles in// hash references.//	// Link defs are in the form: ^[id]: url "optional title"	/*		var text = text.replace(/				^[ ]{0,3}\[(.+)\]:  // id = $1  attacklab: g_tab_width - 1				  [ \t]*				  \n?				// maybe *one* newline				  [ \t]*				<?(\S+?)>?			// url = $2				  [ \t]*				  \n?				// maybe one newline				  [ \t]*				(?:				  (\n*)				// any lines skipped = $3 attacklab: lookbehind removed				  ["(]				  (.+?)				// title = $4				  [")]				  [ \t]*				)?					// title is optional				(?:\n+|$)			  /gm,			  function(){...});	*/	text = text.replace(/^[ ]{0,3}\[(.+)\]:[ \t]*\n?[ \t]*<?(\S+?)>?[ \t]*\n?[ \t]*(?:(\n*)["(](.+?)[")][ \t]*)?(?:\n+|\Z)/gm,		function (wholeMatch,m1,m2,m3,m4) {			m1 = m1.toLowerCase();			g_urls[m1] = _EncodeAmpsAndAngles(m2);  // Link IDs are case-insensitive			if (m3) {				// Oops, found blank lines, so it's not a title.				// Put back the parenthetical statement we stole.				return m3+m4;			} else if (m4) {				g_titles[m1] = m4.replace(/"/g,"&quot;");			}						// Completely remove the definition from the text			return "";		}	);	return text;}
meta: 6317	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6317/bb7ba4f85620c5ad07e48227c0a1b87153a9c92a/showdown.js/clean/Docs/assets/showdown.js