<commit_before>Seed({
		name : "Mold.Lib.MultiLineString",
		dna : "static",
	},
	function(){
		return function(stringFunction, templateVars, format){
			var output = "";
			format = format || "auto";

			templateVars = templateVars || {};

			output = stringFunction.toString().replace(/(^function\s*\(\)\s*\{\s*\/\*\|)([\s\S]*)(\|\*\/\s*\})$/g, function(){
				return arguments[2];
			});

			if(Mold.startsWith(format, "delete-tabs-")){
				var tabLength = +format.replace("delete-tabs-", "");
				format = format.replace(tabLength, "");
			}

			//Safari Bugfix 
			output = output.replace(/^function\s*\(\)\s*\{\s*\/\*\|/g, '');
			output = output.replace(/\|\*\/\s*\}$/g, '');

			if(Mold.startsWith(output, "\n")){
				output = output.substring(1, output.length);
			}
			//Tabformat
			switch (format){
				case "auto":
					var lines = output.split("\n"),
						shortest = 100;

					lines.forEach(function(value){
						var result = value.match(/^(.*?)[\S]/g);
						if(result){
							if((result[0].split("\t").length - 1) < shortest){
								shortest = (result[0].split("\t").length - 1)
							}
						}
					})
					var regExp = new RegExp("^\t{" + shortest + "}(.*?)", "g");
					console.log("shortest", regExp, output)
					output = "";
					lines.forEach(function(value){
						output += value.replace(regExp, "") + "\n";
					});
					
					break;
				case "without-tabs":
					output = output.replace(/\t/g, '');
					output = output.replace(/    /g, '\t');
					break;<commit_msg>console.log removed<commit_after>Seed({
		name : "Mold.Lib.MultiLineString",
		dna : "static",
	},
	function(){
		return function(stringFunction, templateVars, format){
			var output = "";
			format = format || "auto";

			templateVars = templateVars || {};

			output = stringFunction.toString().replace(/(^function\s*\(\)\s*\{\s*\/\*\|)([\s\S]*)(\|\*\/\s*\})$/g, function(){
				return arguments[2];
			});

			if(Mold.startsWith(format, "delete-tabs-")){
				var tabLength = +format.replace("delete-tabs-", "");
				format = format.replace(tabLength, "");
			}

			//Safari Bugfix 
			output = output.replace(/^function\s*\(\)\s*\{\s*\/\*\|/g, '');
			output = output.replace(/\|\*\/\s*\}$/g, '');

			if(Mold.startsWith(output, "\n")){
				output = output.substring(1, output.length);
			}
			//Tabformat
			switch (format){
				case "auto":
					var lines = output.split("\n"),
						shortest = 100;

					lines.forEach(function(value){
						var result = value.match(/^(.*?)[\S]/g);
						if(result){
							if((result[0].split("\t").length - 1) < shortest){
								shortest = (result[0].split("\t").length - 1)
							}
						}
					})
					var regExp = new RegExp("\t{" + shortest + "}(.*?)", "g");
					output = "";
					lines.forEach(function(value){
						output += value.replace(regExp, "") + "\n";
					});
					
					break;
				case "without-tabs":
					output = output.replace(/\t/g, '');
					output = output.replace(/    /g, '\t');
					break;
{'fraction_non_alphanumeric': 0.24071573261309925, 'fraction_numerical': 0.006076975016880486, 'mean_word_length': 2.519002375296912, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5801842', 'n_tokens_mistral': 1319, 'n_tokens_neox': 1017, 'n_words': 167}