<commit_before>(function(bld, $, undefined)
{

	bld.dict = {}

	function haveLocalStorage()
	{
		try { return 'localStorage' in window && window['localStorage'] !== null; }
		catch (e) { return false; }
	}


	oswin.config.namespace = bld;
	oswin.config.binds = [
			['.focus', 'init/focus'],
		];

	$(document).ready(function()
	{
		var mApp = oswin.model({
			data: {
				scheme: 'ABCDEFGHIJKLMNOPQRSTUVWX',
				pair: '__',
				dictRegExp: '',
				dictResults: '',
				dictResultsNum: 0
			},

			members: {
				ctor: function()
				{
					this.haveLocalStorage = haveLocalStorage();
					if (this.haveLocalStorage)
					{
						if ('scheme' in localStorage) this.data.scheme = localStorage.scheme;
						if ('dictRegExp' in localStorage) this.data.dictRegExp = localStorage.dictRegExp;
					}

					this.dictLoaded = false;<commit_msg>Default regexp<commit_after>(function(bld, $, undefined)
{

	bld.dict = {}

	function haveLocalStorage()
	{
		try { return 'localStorage' in window && window['localStorage'] !== null; }
		catch (e) { return false; }
	}


	oswin.config.namespace = bld;
	oswin.config.binds = [
			['.focus', 'init/focus'],
		];

	$(document).ready(function()
	{
		var mApp = oswin.model({
			data: {
				scheme: 'ABCDEFGHIJKLMNOPQRSTUVWX',
				pair: '__',
				dictRegExp: '^a.*b',
				dictResults: '',
				dictResultsNum: 0
			},

			members: {
				ctor: function()
				{
					this.haveLocalStorage = haveLocalStorage();
					if (this.haveLocalStorage)
					{
						if ('scheme' in localStorage) this.data.scheme = localStorage.scheme;
						if ('dictRegExp' in localStorage) this.data.dictRegExp = localStorage.dictRegExp;
					}

					this.dictLoaded = false;
{'fraction_non_alphanumeric': 0.1529761904761905, 'fraction_numerical': 0.0011904761904761906, 'mean_word_length': 3.13022113022113, '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': '3156617', 'n_tokens_mistral': 722, 'n_tokens_neox': 576, 'n_words': 109}