<commit_before><html>
	<head>
		<title>Example</title>   
		<script type="text/javascript" src="jquery-1.6.2.min.js"></script>
		<script type="text/javascript" src='jquery.numberMask.js'></script>
		<script type="text/javascript">
			$(function(){
				$('#int').numberMask({beforePoint:2});
				$('#float').numberMask({type:'float',afterPoint:4,defaultValueInput:'10,1',decimalMark:','});
				$('#float2').numberMask({type:'float',afterPoint:4,defaultValueInput:'10.1',decimalMark:'.'});
				$('#float3').numberMask({pattern:/^\d+\.{0,1}\d*$|^\d+,{0,1}\d*$/});
				$('#word').numberMask({pattern:/^[f]{0,3}$/});
				$('form').submit(function(){alert('Form submit'); return false;})
			})
		</script>
	</head>
	<body>
	<form action='irr.ru'>
		<table>
			<tr><td><label for='int'>Type integer mask xx $('#int').numberMask({beforePoint:2});</label></td><td><input id='int' type='text'></td></tr>
			<tr><td><label for='float'>Type float mask xx,xxxx $('#float').numberMask({type:'float',afterPoint:4,defaultValueInput:'10,1',decimalMark:','});</label></td><td><input id='float' type='text'></td></tr>
			<tr><td><label for='float2'>Type float mask xx.xxxx $('#float2').numberMask({type:'float',afterPoint:4,defaultValueInput:'10.1',decimalMark:'.'});</label></td><td><input id='float2' type='text'></td></tr>
			<tr><td><label for='float3'>Type float mask separator may be '.' or ','   $('#float3').numberMask({pattern:/^\d+\.{0,1}\d*$|^\d+,{0,1}\d*$/});</label></td><td><input id='float3' type='text'></td></tr>
			<tr><td><label for='word'>regExp $('#float1').numberMask({pattern:/^[f]{0,3}$/}); </label></td><td><input id='word' type='text'></td></tr>
			<tr><td>&nbsp;</td><td ><input type="submit" value="send"></td></tr>
		</table>
	</form>
	</body>
</html><commit_msg>add example for negative number<commit_after><html>
	<head>
		<title>Example</title>   
		<script type="text/javascript" src="jquery-1.6.2.min.js"></script>
		<script type="text/javascript" src='jquery.numberMask.js'></script>
		<script type="text/javascript">
			$(function(){
				$('#int').numberMask({beforePoint:2});
				$('#float').numberMask({type:'float',afterPoint:4,defaultValueInput:'10,1',decimalMark:','});
				$('#float2').numberMask({type:'float',afterPoint:4,defaultValueInput:'10.1',decimalMark:'.'});
				$('#float3').numberMask({pattern:/^\d+\.{0,1}\d*$|^\d+,{0,1}\d*$/});
				$('#negative').numberMask({pattern:/^-{0,1}\d*$/});
				$('#word').numberMask({pattern:/^[f]{0,3}$/});
				$('form').submit(function(){alert('Form submit'); return false;})
			})
		</script>
	</head>
	<body>
	<form action='irr.ru'>
		<table>
			<tr><td><label for='int'>Type integer mask xx $('#int').numberMask({beforePoint:2});</label></td><td><input id='int' type='text'></td></tr>
			<tr><td><label for='float'>Type float mask xx,xxxx $('#float').numberMask({type:'float',afterPoint:4,defaultValueInput:'10,1',decimalMark:','});</label></td><td><input id='float' type='text'></td></tr>
			<tr><td><label for='float2'>Type float mask xx.xxxx $('#float2').numberMask({type:'float',afterPoint:4,defaultValueInput:'10.1',decimalMark:'.'});</label></td><td><input id='float2' type='text'></td></tr>
			<tr><td><label for='float3'>Type float mask separator may be '.' or ','   $('#float3').numberMask({pattern:/^\d+\.{0,1}\d*$|^\d+,{0,1}\d*$/});</label></td><td><input id='float3' type='text'></td></tr>
			<tr><td><label for='negative'>Mask for negative number $('#negative').numberMask({pattern:/^-{0,1}\d*$/});</label></td><td><input id='negative' type='text'></td></tr>
			<tr><td><label for='word'>regExp $('#float1').numberMask({pattern:/^[f]{0,3}$/}); </label></td><td><input id='word' type='text'></td></tr>
			<tr><td>&nbsp;</td><td ><input type="submit" value="send"></td></tr>
		</table>
	</form>
	</body>
</html>
{'fraction_non_alphanumeric': 0.3063324538258575, 'fraction_numerical': 0.02321899736147757, 'mean_word_length': 6.627766599597585, 'pattern_counts': {'":': 0, '<': 152, '<?xml version=': 0, '>': 152, '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': '7334777', 'n_tokens_mistral': 1488, 'n_tokens_neox': 1369, 'n_words': 164}