<commit_before>// !Parse links
if( document.location.host != 'twitter.com' && document.links.length >= 1 ) {
	for( var l in document.links ) {
		var link = document.links[l]
		if( link.href ) {
			link.href.replace( /^https?:\/\/(www\.)?twitter\.com\/(#!\/)?([a-z0-9_]+)(\?|\/|$)/i, function( str, www, hash, username ) {
				if( !username.match( /^(home|intent|share|jobs|tos|privacy|images|settings|about|i|download|activity|who_to_follow|search|invitations)$/i ) ) {
					foundUser( username )
				}
			})
			link.href.replace( /^https?:\/\/(www\.)?twitter\.com\/intent\/(user|tweet)\?.*\b(screen_name|related)=([a-z0-9_]+)&?.*$/i, function( s, s, s, s, username ) {
				foundUser( username )
			})
			link.href.replace( /^https?:\/\/(www\.)?twitter\.com\/share\?.*\bvia=([a-z0-9_]+)&?.*$/i, function( str, www, username ) {
				foundUser( username )
			})
		}<commit_msg>Spotter: combined two link regexes into one<commit_after>// !Parse links
if( document.location.host != 'twitter.com' && document.links.length >= 1 ) {
	for( var l in document.links ) {
		var link = document.links[l]
		if( link.href ) {
			link.href.replace( /^https?:\/\/(www\.)?twitter\.com\/(#!\/)?([a-z0-9_]+)(\?|\/|$)/i, function( str, www, hash, username ) {
				if( !username.match( /^(home|intent|share|jobs|tos|privacy|images|settings|about|i|download|activity|who_to_follow|search|invitations)$/i ) ) {
					foundUser( username )
				}
			})
			link.href.replace( /^https?:\/\/(www\.)?twitter\.com\/(share|intent\/user|intent\/tweet)\?.*\b(via|screen_name|related)=([a-z0-9_]+)&?.*$/i, function( s, s, s, s, username ) {
				foundUser( username )
			})
		}
{'fraction_non_alphanumeric': 0.24878048780487805, 'fraction_numerical': 0.007317073170731708, 'mean_word_length': 3.5710306406685235, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2044317', 'n_tokens_mistral': 699, 'n_tokens_neox': 630, 'n_words': 94}