<commit_before>
module.exports = {

  // Translation inner function call regex should match
  // any inner function of gt(). Innner functions can be
  // used in setting some translation vars. We need to
  // remove these function calls, because they will cause
  // issues with parsing the translation function calls.
  //
  // Example match (double hard brackets mean match):
  //
  // gt('SOME_TRANSLATION_KEY', {
  //   'test' : [[test()]]
  // });
  //
  TRANSLATION_INNER_FUNCTION_CALL_REGEX : /\s+(?!gt)[.|\w]+?\((.*?\s*?)*?\)/g,

  // Translation vars regex should capture a match
  // of the whole translation var object literal in
  // the first index of the whole translation function
  // call string.
  //
  // Example match (double hard brackets mean match):
  //
  // [[gt('SOME_TRANSLATION_KEY', {
  //   'test' : 'test'
  // });]]
  //
  TRANSLATION_FUNCTION_CALL_REGEX : /gt\(['|"](.*)['|"]\s*(\,\s*\{\s*((.*?)|(\s*?))+?\s*\})??\s*\)/g,

  // Translation key regex should capture a match
  // of the translation key in the second index
  // of the whole translation function call string.<commit_msg>Fixed error with multiple line function calls<commit_after>
module.exports = {

  // Translation inner function call regex should match
  // any inner function of gt(). Innner functions can be
  // used in setting some translation vars. We need to
  // remove these function calls, because they will cause
  // issues with parsing the translation function calls.
  //
  // Example match (double hard brackets mean match):
  //
  // gt('SOME_TRANSLATION_KEY', {
  //   'test' : [[test()]]
  // });
  //
  TRANSLATION_INNER_FUNCTION_CALL_REGEX : /\s+(?!gt)[.|\w]+?\((.*?\s*?)*?\)/g,

  // Translation vars regex should capture a match
  // of the whole translation var object literal in
  // the first index of the whole translation function
  // call string.
  //
  // Example match (double hard brackets mean match):
  //
  // [[gt('SOME_TRANSLATION_KEY', {
  //   'test' : 'test'
  // });]]
  //
  TRANSLATION_FUNCTION_CALL_REGEX : /gt\(['|"](.*?)['|"]\s*(\,\s*\{\s*((.*?)|(\s*?))+?\s*\})??\s*\)/g,

  // Translation key regex should capture a match
  // of the translation key in the second index
  // of the whole translation function call string.
{'fraction_non_alphanumeric': 0.17159241288045876, 'fraction_numerical': 0.0, 'mean_word_length': 2.824620573355818, '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': '7569681', 'n_tokens_mistral': 732, 'n_tokens_neox': 701, 'n_words': 231}