<commit_before>/**
 * hex-color-regex <https://github.com/regexps/hex-color-regex>
 *
 * Copyright (c) 2014-2015 <NAME>, contributors.
 * Released under the MIT license.
 */

'use strict';

module.exports = function hexColorRegex() {
  var regex = /(#(([a-f0-9]{3})([a-f0-9]{3}))?)/i;
  return regex;
};<commit_msg>fix regex<commit_after>/**
 * hex-color-regex <https://github.com/regexps/hex-color-regex>
 *
 * Copyright (c) 2014-2015 <NAME>, contributors.
 * Released under the MIT license.
 */

'use strict';

module.exports = function hexColorRegex() {
  var regex = /#([a-f0-9]{6}|[a-f0-9]{3})\b/gi
  return regex;
};
{'fraction_non_alphanumeric': 0.21221864951768488, 'fraction_numerical': 0.04501607717041801, 'mean_word_length': 3.8294573643410854, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '7495462', 'n_tokens_mistral': 247, 'n_tokens_neox': 231, 'n_words': 47}