Mistři v programování na #hovnokod

Java #67

contents = contents.replaceAll("\\&lt;(\\w+)\\&gt;", "<CT_$1>\n");
				contents = contents.replaceAll("\\&lt;(\\w+)(\\s\\w+)=\\&quot;(\\w+)\\&quot;\\&gt;", "<CT_$1$2=\"$3\">\n");
				contents = contents.replaceAll("\\&lt;(\\w+)(\\s\\w+)=\\&apos;(\\w+)\\&apos;\\&gt;", "<CT_$1$2='$3'>\n");
				contents = contents.replaceAll("\\&lt;/(\\w+)\\&gt;", "\n</CT_$1>\n");

Anonymous,