<commit_before>class Help

  def initialize
    info
  end

  def info
    print "Usage: \n"
    print "_________________________________________________________\n"
    print "regex \n"
    print "\tset or add myRegex                  -sets your current regex\n"
    print "\tview                         -view current regex\n"

    print "strings\n"
    print "\tadd myString                 -add test string to your list of strings\n"
    print "\tremove myString              -remove test string from list of strings\n"
    print "\tview or show or list         -view your strings\n"
    print "\tclear_all                    -remove all your test strings\n"

    print "check\n"
    print "\tnow                          -run your regex against all test strings"
  end

end<commit_msg>help menu<commit_after>require 'colorize'

class Help

  def initialize
    info
  end

  def info
    print "Usage: \n".red
    print "_________________________________________________________\n".red
    print "regex \n".yellow
    print "\tset or add myRegex           -sets your current regex\n".blue
    print "\tview                         -view current regex\n".blue
    print "\t**only add regex between but not including the starting and ending //\n\n".blue

    print "strings\n".yellow
    print "\tadd myString                 -add test string to your list of strings\n".blue
    print "\tremove myString              -remove test string from list of strings\n".blue
    print "\tview or show or list         -view your strings\n".blue
    print "\tclear_all                    -remove all your test strings\n".blue

    print "\tcheck now                      -run your regex against all test strings\n\n".green
    
    
    print "***EXAMPLES***\n".yellow
    print "\tset regex:         regex set \d\n".blue
    print "\tadd test string:   strings add testString\n".blue
    print "\trun your regex:    check now\n".blue
  end

end
{'fraction_non_alphanumeric': 0.08109504132231404, 'fraction_numerical': 0.0, 'mean_word_length': 1.8401759530791788, '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': '593147', 'n_tokens_mistral': 519, 'n_tokens_neox': 502, 'n_words': 199}