<commit_before>'use strict';

let run = 'run(-script)?';
let scriptName = '\\w|\\:|\\*|$';
let arg = `${scriptName}| --`;
let reserved = '(re)?start|stop|test|publish|(un?)install|version';
let reservedTest = '(te?s)?t';
let redrunArg = '--?\\w+';
let redrunName ='\\w+';
let redrunEnd = ';|&&?|\\|\\|?|>|<| #';

module.exports.enter        = RegExp(`redrun|(npm (${run}|${reserved}|${reservedTest}))`);
module.exports.arg          = RegExp(`npm ${run} (${arg})+`, 'g');
module.exports.name         = RegExp(`(${scriptName})+`);
module.exports.reserved     = RegExp(`npm (${reserved})`);
module.exports.reservedTest = RegExp(`^npm ${reservedTest}$`);
module.exports.redrun       = RegExp(`^redrun(\\s|${redrunArg}|${redrunName})+?(${redrunEnd})?$`);
<commit_msg>chore(regexp) add " "<commit_after>'use strict';

let run = 'run(-script)?';
let scriptName = '\\w|\\:|\\*|$';
let arg = `${scriptName}| --`;
let reserved = '(re)?start|stop|test|publish|(un?)install|version';
let reservedTest = '(te?s)?t';
let redrunArg = '--?\\w+';
let redrunName = '\\w+';
let redrunEnd = ';|&&?|\\|\\|?|>|<| #';

module.exports.enter        = RegExp(`redrun|(npm (${run}|${reserved}|${reservedTest}))`);
module.exports.arg          = RegExp(`npm ${run} (${arg})+`, 'g');
module.exports.name         = RegExp(`(${scriptName})+`);
module.exports.reserved     = RegExp(`npm (${reserved})`);
module.exports.reservedTest = RegExp(`^npm ${reservedTest}$`);
module.exports.redrun       = RegExp(`^redrun(\\s|${redrunArg}|${redrunName})+?(${redrunEnd})?$`);

{'fraction_non_alphanumeric': 0.2857142857142857, 'fraction_numerical': 0.0, 'mean_word_length': 4.8773946360153255, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '860552', 'n_tokens_mistral': 590, 'n_tokens_neox': 569, 'n_words': 88}