<commit_before>regex =
  ibizan:          /(?:@)?ibizan(?::)? ?/i
  modes:           /(in|out|vacation|sick|unpaid)/i
  days:            /monday|tuesday|wednesday|thursday|friday|saturday|sunday/i
  rel_time:        ///(half-day|
                      (half day)|
                      noon|
                      midnight|
                      ([0-9]+(?:\.+[0-9]*)?) hours)///i
  time:            ///((\b([0-1][0-9])|(2[0-3])):([0-5][0-9])\b)|
                    (\b(0?[1-9])|(1[0-2]))(?:(:[0-5][0-9] ?(am?|pm?)?)|
                    (am?|pm?)\b)///i
  months:          ///\b(?:Jan(?:uary)?|
                            Mar(?:ch)?|
                            May|
                            Jul(?:y)?|
                            Aug(?:ust)?|
                            Oct(?:ober)?|
                            Dec(?:ember)?|
                            Sep(?:tember)?|
                            Apr(?:il)?|
                            Jun(?:e)?|
                            Nov(?:ember)?|
                            Feb(?:ruary)?)\b///i
  date:            ///(\b(?:Jan(?:uary)?|
                            Mar(?:ch)?|
                            May|
                            Jul(?:y)?|
                            Aug(?:ust)?|
                            Oct(?:ober)?|
                            Dec(?:ember)?) (?:3[01]|[0-2]*[0-9])
                            (?: ?- ?(3[01]|[0-2]*[0-9]))?\b)|
                            (\b(?:Sep(?:tember)?|
                            Apr(?:il)?|
                            Jun(?:e)?|
                            Nov(?:ember)?) (?:30|[0-2]*[0-9])
                            (?: ?- ?(30|[0-2]*[0-9]))?\b)|
                            (\b(?:Feb(?:ruary)?) (?:29|[0-2]*[0-8])
                            (?: ?- ?(29|[0-2]*[0-8]))?\b)///i
  numdate:         ///((?:\b(0?2)\/(0?[1-9]|[1-2][0-9])\b)|
                        (?:\b(0?[469]|11)\/(0?[1-9]|[1-2][1-9]|30)\b)|
                        (?:\b(0?[13578]|
                        (10|12))\/(0?[1-9]|[1-2][1-9]|3[01])\b))
                        (?: ?- ?((?:\b(0?2)\/(0?[1-9]|[1-2][0-9])\b)|
                        (?:\b(0?[469]|11)\/(0?[1-9]|[1-2][1-9]|30)\b)|
                        (?:\b(0?[13578]|(10|12))\/
                        (0?[1-9]|[1-2][1-9]|3[01])\b)))?///i

Object.freeze regex

cellHeaders =
  variables:
    vacation:            'vacationhoursforsalariedemployees'
    sick:                'sickhoursforsalariedemployees'
    clockChannel:        'timeloggingchannel'
    exemptChannels:      'houndingchannelexemptions'
    holidays:            'workholidays'
    holidayDate:         'date'<commit_msg>Revert multiline regex changes to constants<commit_after>regex =
  ibizan:          /(?:@)?ibizan(?::)? ?/i
  modes:           /(in|out|vacation|sick|unpaid)/i
  days:            /monday|tuesday|wednesday|thursday|friday|saturday|sunday/i
  rel_time:        /(half-day|(half day)|noon|midnight|([0-9]+(?:\.+[0-9]*)?) hours)/i
  time:            /((\b([0-1][0-9])|(2[0-3])):([0-5][0-9])\b)|(\b(0?[1-9])|(1[0-2]))(?:(:[0-5][0-9] ?(am?|pm?)?)|(am?|pm?)\b)/i
  months:          /\b(?:Jan(?:uary)?|Mar(?:ch)?|May|Jul(?:y)?|Aug(?:ust)?|Oct(?:ober)?|Dec(?:ember)?|Sep(?:tember)?|Apr(?:il)?|Jun(?:e)?|Nov(?:ember)?|Feb(?:ruary)?)\b/i
  date:            /(\b(?:Jan(?:uary)?|Mar(?:ch)?|May|Jul(?:y)?|Aug(?:ust)?|Oct(?:ober)?|Dec(?:ember)?) (?:3[01]|[0-2]*[0-9])(?: ?- ?(3[01]|[0-2]*[0-9]))?\b)|(\b(?:Sep(?:tember)?|Apr(?:il)?|Jun(?:e)?|Nov(?:ember)?) (?:30|[0-2]*[0-9])(?: ?- ?(30|[0-2]*[0-9]))?\b)|(\b(?:Feb(?:ruary)?) (?:29|[0-2]*[0-8])(?: ?- ?(29|[0-2]*[0-8]))?\b)/i
  numdate:         /((?:\b(0?2)\/(0?[1-9]|[1-2][0-9])\b)|(?:\b(0?[469]|11)\/(0?[1-9]|[1-2][1-9]|30)\b)|(?:\b(0?[13578]|(10|12))\/(0?[1-9]|[1-2][1-9]|3[01])\b))(?: ?- ?((?:\b(0?2)\/(0?[1-9]|[1-2][0-9])\b)|(?:\b(0?[469]|11)\/(0?[1-9]|[1-2][1-9]|30)\b)|(?:\b(0?[13578]|(10|12))\/(0?[1-9]|[1-2][1-9]|3[01])\b)))?/i

Object.freeze regex

cellHeaders =
  variables:
    vacation:            'vacationhoursforsalariedemployees'
    sick:                'sickhoursforsalariedemployees'
    clockChannel:        'timeloggingchannel'
    exemptChannels:      'houndingchannelexemptions'
    holidays:            'workholidays'
    holidayDate:         'date'
{'fraction_non_alphanumeric': 0.294811320754717, 'fraction_numerical': 0.07122641509433962, 'mean_word_length': 1.4743290548424737, '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': '7031429', 'n_tokens_mistral': 1802, 'n_tokens_neox': 1690, 'n_words': 126}