<commit_before># Cleanup RDoc stylesheet produced by hanna RDoc template

if 'hanna' == PROJ.rdoc.template && Rake::Task.task_defined?('doc/index.html')
  Rake::Task['doc/index.html'].enhance do
    families = [ "Arial",
                 "Courier( New)?",
                 "(Bitstream Vera|DejaVu) Sans Mono",
                 "Georgia",
                 "Helvetica",
                 "Monaco",
                 "Verdana" ].sort.uniq
    re   = Regexp.new('(%s)\s*,?\s*' % families.join('|'), true)
    expr = '$_.gsub!(/%s/, "")' % re
    cmd  = %w(ruby -p -i -e) << expr << 'doc/rdoc-style.css'

    system(*cmd)
    puts "Removed font families from doc/rdoc-style.css."
  end
end<commit_msg>Changed \s to [[:space:]] in regular expression.<commit_after># Cleanup RDoc stylesheet produced by hanna RDoc template

if 'hanna' == PROJ.rdoc.template && Rake::Task.task_defined?('doc/index.html')
  Rake::Task['doc/index.html'].enhance do
    families = [ "Arial",
                 "Courier( New)?",
                 "(Bitstream Vera|DejaVu) Sans Mono",
                 "Georgia",
                 "Helvetica",
                 "Monaco",
                 "Verdana" ].sort.uniq
    re   = Regexp.new('(%s)[[:space:]]*,?[[:space:]]*' % families.join('|'), true)
    expr = '$_.gsub!(/%s/, "")' % re
    cmd  = %w(ruby -p -i -e) << expr << 'doc/rdoc-style.css'

    system(*cmd)
    puts "Removed font families from doc/rdoc-style.css."
  end
end
{'fraction_non_alphanumeric': 0.18598195697432338, 'fraction_numerical': 0.0, 'mean_word_length': 2.169230769230769, 'pattern_counts': {'":': 0, '<': 11, '<?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': '5069044', 'n_tokens_mistral': 508, 'n_tokens_neox': 499, 'n_words': 107}