<commit_before># -*- coding: utf-8 -*-
# http://google-styleguide.googlecode.com/svn/trunk/pyguide.html

EMAIL = "^[_a-z0-9-\+]+(\.[_a-z0-9-\+]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$"
TIME = "^([0-9]|0[0-9]|1[0-9]|2[0-3]):([0-5][0-9])(\ (am|pm|AM|PM|a\.m\.|p\.m\.|A\.M\.|P\.M\.))?$"
DATE = "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$"
UUID = "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-" \
       "[0-9a-fA-F]{12}|\@me"
UNIX_TIMESTAMP = "[0-9]+"
TIMEZONE_CODE = "^(([a-zA-Z]+)(\/[a-zA-Z\-\_]+){1,2})|GMT|UTC$"
PHONE_NUMBER = "^\+([0-9]{12})$"
URL = "http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+"<commit_msg>Patterns: added new date time second pattern regex<commit_after># -*- coding: utf-8 -*-
# http://google-styleguide.googlecode.com/svn/trunk/pyguide.html

EMAIL = "^[_a-z0-9-\+]+(\.[_a-z0-9-\+]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$"
DATE_TIME = "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])\ ([0-9]|0[0-9]|1[0-9]|2[0-3]):([0-5][0-9])$"
DATE_TIME_SECONDS = "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])\ ([0-9]|0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$"
TIME = "^([0-9]|0[0-9]|1[0-9]|2[0-3]):([0-5][0-9])$"
DATE = "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$"
UUID = "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-" \
       "[0-9a-fA-F]{12}|\@me"
UNIX_TIMESTAMP = "[0-9]+"
TIMEZONE_CODE = "^(([a-zA-Z]+)(\/[a-zA-Z\-\_]+){1,2})|GMT|UTC$"
PHONE_NUMBER = "^\+([0-9]{12})$"
URL = "http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+"
{'fraction_non_alphanumeric': 0.48735777496839444, 'fraction_numerical': 0.14032869785082175, 'mean_word_length': 3.6017441860465116, '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': '6510866', 'n_tokens_mistral': 1083, 'n_tokens_neox': 1044, 'n_words': 55}