attacklab  attribute     

text = text.replace(text, /(?:\n\n|^) ( // $1 = the code block -- one or more lines, starting with a space/tab (?: (?:[ ]{4}|\t) // Lines must start with a tab or a tab-width of spaces - attacklab: gtabwidth .\n+ )+ ) (\n[ ]{0,3}[^ \t\n]|(?=~0)) // attacklab: gtabwidth /g,function(){...});

© Jupiter IT - JavaScriptMVC Training and Support