<commit_before><commit_msg>Add rosetta code initial parser<commit_after>#!/usr/bin/env perl6

use v6;


#my $html = slurp 'test_1.html';

#=begin i
my $html = q:to/END/;
<pre class="perl6 highlighted_source">
1
1.1
</pre>
<pre>2</pre>
<pre>3</pre>
<pre>4</pre>
END
#=end i

#<pre class="perl6 highlighted_source">


#
while $html ~~ m:c/\<pre\sclass\=\"perl6\shighlighted_source\"\>(.+?)\<\/pre\>/ {
	say $/[0].Str;
}

#else {
#	say "No match";
#}

#my $x = '<pre class="perl6 highlighted_source">';


{'fraction_non_alphanumeric': 0.2315369261477046, 'fraction_numerical': 0.027944111776447105, 'mean_word_length': 4.28421052631579, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '442190', 'n_tokens_mistral': 234, 'n_tokens_neox': 224, 'n_words': 46}