<commit_before>	function ThAttr(suffix, func, prec, list, pref, dataAttr) {
		var prefix = "", dataPrefix = null, escpPrefix = "";
		if (typeof pref !== "undefined" && pref !== null ) {
			prefix = pref + ":";			
			if (thymol.thThymeleafPrefixList.indexOf(prefix) < 0) {
				thymol.thThymeleafPrefixList.push(prefix);
			}
			escpPrefix = pref + "\\:";
			if (typeof dataAttr === "undefined" || dataAttr === null ) {
				dataPrefix = thymol.dataPrefix + "-" + pref + "-";
				if (thymol.thThymeleafPrefixList.indexOf(dataPrefix) < 0) {
					thymol.thThymeleafPrefixList.push(dataPrefix);
				}
			}
			else {
				dataPrefix = dataAttr;				
			}
		}

// Need name, synonym, escpName and escpSynonym
		this.regex = null;
		if( suffix.indexOf('*') >=0 || suffix.indexOf('?') >=0 || suffix.indexOf('+') >=0 || suffix.indexOf('\\') >=0 || suffix.indexOf('|') >=0 || suffix.indexOf('[') >=0 || suffix.indexOf(']') >=0 || suffix.indexOf('{') >=0 || suffix.indexOf('}') >=0 ) {
			if( "*" === suffix ) {
				suffix = ".*";
			}
			this.regex = new RegExp(suffix);
		}		
		this.suffix = suffix;
		this.name = prefix + suffix;
		this.escpName = "[" + escpPrefix + suffix + "]";
		if( dataPrefix !== null ) {<commit_msg>Fixed problem with RegExp atttribute matching.<commit_after>	function ThAttr(suffix, func, prec, list, pref, dataAttr) {
		var prefix = "", dataPrefix = null, escpPrefix = "";
		if (typeof pref !== "undefined" && pref !== null ) {
			prefix = pref + ":";			
			if (thymol.thThymeleafPrefixList.indexOf(prefix) < 0) {
				thymol.thThymeleafPrefixList.push(prefix);
			}
			escpPrefix = pref + "\\:";
			if (typeof dataAttr === "undefined" || dataAttr === null ) {
				dataPrefix = thymol.dataPrefix + "-" + pref + "-";
				if (thymol.thThymeleafPrefixList.indexOf(dataPrefix) < 0) {
					thymol.thThymeleafPrefixList.push(dataPrefix);
				}
			}
			else {
				dataPrefix = dataAttr;				
			}
		}

// Need name, synonym, escpName and escpSynonym
		this.suffix = suffix;
		this.name = prefix + suffix;
		this.regex = null;
		if( suffix.indexOf('*') >=0 || suffix.indexOf('?') >=0 || suffix.indexOf('+') >=0 || suffix.indexOf('\\') >=0 || suffix.indexOf('|') >=0 || suffix.indexOf('[') >=0 || suffix.indexOf(']') >=0 || suffix.indexOf('{') >=0 || suffix.indexOf('}') >=0 ) {
			if( "*" === suffix ) {
				suffix = ".*";
			}
			suffix = prefix + suffix;
			this.regex = new RegExp(suffix);
		}		
		this.escpName = "[" + escpPrefix + suffix + "]";
		if( dataPrefix !== null ) {
{'fraction_non_alphanumeric': 0.2054794520547945, 'fraction_numerical': 0.008863819500402902, 'mean_word_length': 3.2884283246977546, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 21, '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': '6026696', 'n_tokens_mistral': 1006, 'n_tokens_neox': 876, 'n_words': 182}