<commit_before>Go Replace tests:

  $ go build -o gr goreplace 2> /dev/null || go build -o gr github.com/piranha/goreplace
  $ CURRENT=$(pwd)
  $ alias gr="$CURRENT/gr -c"

Usage:

  $ gr
  Usage:
    gr [OPTIONS] string-to-search
  
  Ignoring files bigger than 10MB
  General ignorer
  
  Application Options:
    -r, --replace=RE        replace found substrings with RE
        --force             force replacement in binary files
    -i, --ignore-case       ignore pattern case
    -s, --singleline        ^/$ will match beginning/end of line
    -p, --plain             treat pattern as plain text
    -x, --exclude=RE        exclude filenames that match regexp RE (multi)
    -o, --only=RE           search only filenames that match regexp RE (multi)
    -I, --no-autoignore     do not read .git/.hgignore files
    -b, --big-file=SIZE     ignore files bigger than SIZE (use suffixes: k, M)
    -B, --no-bigignore      do not ignore big files at all
    -f, --find-files        search in file names
    -n, --filename          print only filenames<commit_msg>Fix broken tests.<commit_after>Go Replace tests:

  $ START_DIR=$PWD && cd $TESTDIR && cd ./.. && go build -o $START_DIR/gr && cd $START_DIR
  $ alias gr="$START_DIR/gr -c"

Usage:

  $ gr
  Usage:
    gr [OPTIONS] string-to-search
  
  Ignoring files bigger than 10MB
  General ignorer
  
  Application Options:
    -r, --replace=RE        replace found substrings with RE
        --force             force replacement in binary files
    -i, --ignore-case       ignore pattern case
    -s, --singleline        ^/$ will match beginning/end of line
    -p, --plain             treat pattern as plain text
    -x, --exclude=RE        exclude filenames that match regexp RE (multi)
    -o, --only=RE           search only filenames that match regexp RE (multi)
    -I, --no-autoignore     do not read .git/.hgignore files
    -b, --big-file=SIZE     ignore files bigger than SIZE (use suffixes: k, M)
    -B, --no-bigignore      do not ignore big files at all
    -f, --find-files        search in file names
    -n, --filename          print only filenames
{'fraction_non_alphanumeric': 0.10136727958510136, 'fraction_numerical': 0.0023573785950023575, 'mean_word_length': 1.9845288326300985, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '1915475', 'n_tokens_mistral': 660, 'n_tokens_neox': 636, 'n_words': 244}