<commit_before>define([
	'matreshka_dir/core/var/core',
	'matreshka_dir/core/var/sym',
	'matreshka_dir/core/initmk',
	'matreshka_dir/core/util/common',
], function(core, sym, initMK, util) {
	"use strict";

	core.parserBrackets = {
		left: '{{',
		right: '}}'
	};

	var parseBindings = core.parseBindings = function(object, nodes) {
		var $ = core.$,
			brackets = core.parserBrackets,
			leftBracket = brackets.left,
			rightBracket = brackets.right,
			escLeftBracket = leftBracket.replace(/(\[|\(|\?)/g, '\\$1'),
			escRightBracket = rightBracket.replace(/(\]|\)|\?)/g, '\\$1'),
			escRightSymbol = rightBracket[0].replace(/(\]|\)|\?)/g, '\\$1'),
			bindingsReg = new RegExp(escLeftBracket + '([^'+escRightSymbol+']+)' + escRightBracket, 'g'),
			strictBindingsReg = new RegExp('^' + escLeftBracket + '([^'+escRightSymbol+']+)' + escRightBracket + '$', 'g');

		if (!object || typeof object != 'object') return $();
<commit_msg>minor fix in bindingsParser<commit_after>define([
	'matreshka_dir/core/var/core',
	'matreshka_dir/core/var/sym',
	'matreshka_dir/core/initmk',
	'matreshka_dir/core/util/common',
], function(core, sym, initMK, util) {
	"use strict";

	core.parserBrackets = {
		left: '{{',
		right: '}}'
	};

	var parseBindings = core.parseBindings = function(object, nodes) {
		var $ = core.$,
			brackets = core.parserBrackets,
			leftBracket = brackets.left,
			rightBracket = brackets.right,
			escLeftBracket = leftBracket.replace(/(\[|\(|\?)/g, '\\$1'),
			escRightBracket = rightBracket.replace(/(\]|\)|\?)/g, '\\$1'),
			bindingsReg = new RegExp(escLeftBracket + '(.+?)' + escRightBracket, 'g'),
			strictBindingsReg = new RegExp('^' + escLeftBracket + '(.+?)' + escRightBracket + '$', 'g');

		if (!object || typeof object != 'object') return $();

{'fraction_non_alphanumeric': 0.2175141242937853, 'fraction_numerical': 0.003389830508474576, 'mean_word_length': 4.382978723404255, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1864995', 'n_tokens_mistral': 725, 'n_tokens_neox': 653, 'n_words': 108}