<commit_before>console.log("reader starts");
// var comics=comics || { };
document.onreadystatechange = function () {
	if (document.readyState == "interactive") {
		comics.setImages=function(doc){
			var scriptURL=/src=\"(\/Utility\/\d*\/\d*\.js)\">/.exec(doc.head.innerHTML)[1]; 
			var chapternum=/http\:\/\/comic\.sfacg\.com\/HTML\/.*\/(\w*)\/$/.exec(doc.URL)[1];
			comics.chapterId=chapternum;
			var req = new XMLHttpRequest;
			req.open("GET",scriptURL);
			req.onload=function(){
				eval(req.response);
				comics.titleInfor=comicName+" / 第"+comics.chapterId+"話 ";		
				comics.nextURL_tmp=nextVolume;
				console.log(comics.nextURL_tmp);
				comics.preURL_tmp=preVolume;	
				if(nextVolume=="javascript:alert('已经是当前连载的最后一回!');"){
					comics.nextURL_tmp="";
					comics.maxChapter_tmp=comics.chapterId;	
				}
				if(preVolume=="javascript:alert('已经是当前连载的最初回!');"){
					comics.preURL_tmp="";
					comics.minChapter_tmp=comics.chapterId;	
				}
				var name = "picHost=";<commit_msg>fix regex bug in SF<commit_after>console.log("reader starts");
// var comics=comics || { };
document.onreadystatechange = function () {
	if (document.readyState == "interactive") {
		comics.setImages=function(doc){
			var scriptURL=/src=\"(\/Utility\/\w*\/\w*\.js)\">/.exec(doc.head.innerHTML)[1]; 
			var chapternum=/http\:\/\/comic\.sfacg\.com\/HTML\/.*\/(\w*)\/$/.exec(doc.URL)[1];
			comics.chapterId=chapternum;
			var req = new XMLHttpRequest;
			req.open("GET",scriptURL);
			req.onload=function(){
				eval(req.response);
				comics.titleInfor=comicName+" / 第"+comics.chapterId+"話 ";		
				comics.nextURL_tmp=nextVolume;
				console.log(comics.nextURL_tmp);
				comics.preURL_tmp=preVolume;	
				if(nextVolume=="javascript:alert('已经是当前连载的最后一回!');"){
					comics.nextURL_tmp="";
					comics.maxChapter_tmp=comics.chapterId;	
				}
				if(preVolume=="javascript:alert('已经是当前连载的最初回!');"){
					comics.preURL_tmp="";
					comics.minChapter_tmp=comics.chapterId;	
				}
				var name = "picHost=";
{'fraction_non_alphanumeric': 0.19879518072289157, 'fraction_numerical': 0.002008032128514056, 'mean_word_length': 3.920987654320988, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2305661', 'n_tokens_mistral': 907, 'n_tokens_neox': 769, 'n_words': 75}