<commit_before><?php
//2012 03/19 dlύX
//ÑgK[AhX"!htmltag"ɕύXB
//[color=(params)]{body}[/color]
//[size=(params)]{body}[/size]̋Lq<span style="params...">{body}</span>
//ɐK\ŒuAXgɂhtml^Ô݂
///on...菜Ă̂܂ܔfɕύXB
//ȂAlXgi^OĂȂj^O̓GXP[vdlƂB
//2012 03/19 end
//--------------
//2012 04/20 IELXSSƎ㐫ɑ΂΍ǉB
//style̊ep[^̒lɂāA
//Rg폜AlQƂƃobNXbVR[h
//oCiɕϊAɒʏSJISUTF-16BEɕϊA
//Spp𔼊ppiUTF-16BEjɕϊA
//expressionurlŎn܂Ă炻̒lƃL[̃yA󕶎
//u悤ɂB
//ȂAobNXbVR[hɂCSS1dlCSS2dlA
//Ɍ݊Ȃ߁Ã[ŉ߂Ăǂ炩̌ʂ
//expressionurlŎn܂ĂNGƂ悤ɁB
//܂AIËꕔɂ}`oCg̈ꕔɃobNXbV(\x5c)܂
//R[h16iobNXbVR[hƂ݂ȂdlɑΉ邽߁A
//̓dlɂƂÂ͌ʂexpressionurlŎn܂Ăꍇ
//NGƂ悤ɂB
//2012 04/20 end
//2012 12/01
//htmllQƋyуobNXbVR[h
//TQ[gyA͈͂̃R[hɂāA3oCgoCiɕϊĂ̂
//UTF-16TQ[gyA4oCgɕϊ悤ɏCB
//decodeToUnicodeStringIEBug̃R[obNdecodeToUnicodeStringInnerIEBug
//w肵ĂȂ̂CB
//
//--------------
	class TagPlugin extends BBSPlugin
	{
		var $enable;
		var $enable_tags = array(
			"p",
			"span",
			"b",
			"del",
			"em",
			"hr",
			"ins",
			"strong"
		);
		
		var $sjis_valid_none_ctrl_char_reg;
		var $sjischar_reg;
		var $stringreg_dquoets;
		var $stringreg_squoets;
		var $html_entity_reg;
		var $backslash_code_css1_reg;
		var $backslash_code_css2_reg;
		
		var $MESSAGE;
		
		function TagPlugin()
		{
			$this->enable = false;
			$this->sjis_valid_none_ctrl_char_reg = '(?:[\x20-\x7E\xA1-\xDF]|(?:[\x81-\x9F\xE0-\xEF](?:[\x40-\x7E\x80-\xFC])))';
			$this->sjischar_reg = '(?:[\x00-\x1F\x20-\x7E\x7F\xA1-\xDF]|(?:[\x81-\x9F\xE0-\xEF](?:[\x40-\x7E\x80-\xFC]|[\x00-\x3F\x7F\xFD-\xFF]))|(?:[\x80\xA0\xF0-\xFF][\x00-\xFF]))';
			$this->stringreg_dquoets = "(?:\"(?:\\x5c\\x5c|\\x5c{$sjischar_reg}|[^\"])*\")";
			$this->stringreg_squoets = "(?:'(?:\\x5c\\x5c|\\x5c{$sjischar_reg}|[^'])*')";
			$this->html_entity_reg = '(?:(?:&#x([\da-fA-F]+);)|(?:&#(\d+);))';
			$this->backslash_code_css1_reg = '(?:\x5c([\da-fA-F]{1,4}))';<commit_msg>タグ有効化プラグインのバグを修正<commit_after><?php
//2012 03/19 dlύX
//ÑgK[AhX"!htmltag"ɕύXB
//[color=(params)]{body}[/color]
//[size=(params)]{body}[/size]̋Lq<span style="params...">{body}</span>
//ɐK\ŒuAXgɂhtml^Ô݂
///on...菜Ă̂܂ܔfɕύXB
//ȂAlXgi^OĂȂj^O̓GXP[vdlƂB
//2012 03/19 end
//--------------
//2012 04/20 IELXSSƎ㐫ɑ΂΍ǉB
//style̊ep[^̒lɂāA
//Rg폜AlQƂƃobNXbVR[h
//oCiɕϊAɒʏSJISUTF-16BEɕϊA
//Spp𔼊ppiUTF-16BEjɕϊA
//expressionurlŎn܂Ă炻̒lƃL[̃yA󕶎
//u悤ɂB
//ȂAobNXbVR[hɂCSS1dlCSS2dlA
//Ɍ݊Ȃ߁Ã[ŉ߂Ăǂ炩̌ʂ
//expressionurlŎn܂ĂNGƂ悤ɁB
//܂AIËꕔɂ}`oCg̈ꕔɃobNXbV(\x5c)܂
//R[h16iobNXbVR[hƂ݂ȂdlɑΉ邽߁A
//̓dlɂƂÂ͌ʂexpressionurlŎn܂Ăꍇ
//NGƂ悤ɂB
//2012 04/20 end
//2012 12/01
//htmllQƋyуobNXbVR[h
//TQ[gyA͈͂̃R[hɂāA3oCgoCiɕϊĂ̂
//UTF-16TQ[gyA4oCgɕϊ悤ɏCB
//decodeToUnicodeStringIEBug̃R[obNdecodeToUnicodeStringInnerIEBug
//w肵ĂȂ̂CB
//
//--------------
	class TagPlugin extends BBSPlugin
	{
		var $enable;
		var $enable_tags = array(
			"p",
			"span",
			"b",
			"del",
			"em",
			"hr",
			"ins",
			"strong"
		);
		
		var $sjis_valid_none_ctrl_char_reg;
		var $sjischar_reg;
		var $stringreg_dquoets;
		var $stringreg_squoets;
		var $html_entity_reg;
		var $backslash_code_css1_reg;
		var $backslash_code_css2_reg;
		
		var $MESSAGE;
		
		function TagPlugin()
		{
			$this->enable = false;
			$this->sjis_valid_none_ctrl_char_reg = '(?:[\x20-\x7E\xA1-\xDF]|(?:[\x81-\x9F\xE0-\xEF](?:[\x40-\x7E\x80-\xFC])))';
			$this->sjischar_reg = '(?:[\x00-\x1F\x20-\x7E\x7F\xA1-\xDF]|(?:[\x81-\x9F\xE0-\xEF](?:[\x40-\x7E\x80-\xFC]|[\x00-\x3F\x7F\xFD-\xFF]))|(?:[\x80\xA0\xF0-\xFF][\x00-\xFF]))';
			$this->stringreg_dquoets = "(?:\"(?:\\x5c\\x5c|\\x5c{$this->sjischar_reg}|[^\"])*\")";
			$this->stringreg_squoets = "(?:'(?:\\x5c\\x5c|\\x5c{$this->sjischar_reg}|[^'])*')";
			$this->html_entity_reg = '(?:(?:&#x([\da-fA-F]+);)|(?:&#(\d+);))';
			$this->backslash_code_css1_reg = '(?:\x5c([\da-fA-F]{1,4}))';
{'fraction_non_alphanumeric': 0.27749117567200654, 'fraction_numerical': 0.0586478414336139, 'mean_word_length': 3.815686274509804, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 23, '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': '1986677', 'n_tokens_mistral': 2394, 'n_tokens_neox': 2230, 'n_words': 177}