<commit_before><?php 
/**
 * @package plugins.dropFolder
 * @subpackage Admin
 */
class Form_ContentFileHandlerConfig extends Infra_Form
{
	public function init()
	{
		$fileDeletePolicies = new Kaltura_Form_Element_EnumSelect('contentMatchPolicy', array('enum' => 'Kaltura_Client_DropFolder_Enum_DropFolderContentFileHandlerMatchPolicy'));
		$fileDeletePolicies->setLabel('Content Match Policy:');
		$fileDeletePolicies->setRequired(true);
		$this->addElement($fileDeletePolicies);
		
		$this->addElement('text', 'slugRegex', array(
			'label' 		=> 'Slug Regex:',
		    'value' 		=> '/(?P<referenceId>.+)[.]\w{3,}/',
			'filters'		=> array('StringTrim'),
		));
				
		$this->setDecorators(array(
	        'FormElements',
	        array('HtmlTag', array('tag' => 'span', 'id' => 'frmContentFileHandlerConfig')),
        ));<commit_msg>def: 6476 - change min extention to 2<commit_after><?php 
/**
 * @package plugins.dropFolder
 * @subpackage Admin
 */
class Form_ContentFileHandlerConfig extends Infra_Form
{
	public function init()
	{
		$fileDeletePolicies = new Kaltura_Form_Element_EnumSelect('contentMatchPolicy', array('enum' => 'Kaltura_Client_DropFolder_Enum_DropFolderContentFileHandlerMatchPolicy'));
		$fileDeletePolicies->setLabel('Content Match Policy:');
		$fileDeletePolicies->setRequired(true);
		$this->addElement($fileDeletePolicies);
		
		$this->addElement('text', 'slugRegex', array(
			'label' 		=> 'Slug Regex:',
		    'value' 		=> '/(?P<referenceId>.+)[.]\w{2,}/',
			'filters'		=> array('StringTrim'),
		));
				
		$this->setDecorators(array(
	        'FormElements',
	        array('HtmlTag', array('tag' => 'span', 'id' => 'frmContentFileHandlerConfig')),
        ));
{'fraction_non_alphanumeric': 0.1702127659574468, 'fraction_numerical': 0.004137115839243499, 'mean_word_length': 4.982332155477032, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 27, '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': '4738552', 'n_tokens_mistral': 597, 'n_tokens_neox': 554, 'n_words': 84}