<commit_before><?php
/**
 * Description of Zend_View_Helper_EscapeEmail
 *
 * @author <NAME>
 */
class Zend_View_Helper_EscapeEmail{


    public function escapeEmail($string){

                    //replace email by nothing
                    $string = preg_replace("/([\._a-zA-Z0-9-]+@[\._a-zA-Z0-9-]+)/",  ' '  , $string);

                    //replace phone numbers
                    $string = preg_replace("/([9|6])+([0-9]{8,}\s|-?)/ ",  ' kaka' , $string); //todo fix spaces

        return $string;
    }


}

<commit_msg>[no commit message]<commit_after><?php
/**
 * Description of Zend_View_Helper_EscapeEmail
 *
 * @author <NAME>
 */
class Zend_View_Helper_EscapeEmail{


    public function escapeEmail($string){

                    //replace email by nothing
                    $string = preg_replace("/([\._a-zA-Z0-9-]+@[\._a-zA-Z0-9-]+)/",  ' '  , $string);

                    //replace phone numbers
                    $string = preg_replace("/([9|6])+([0-9]{8,}\s|-?)/ ",  ' ' , $string); //todo fix spaces

        return $string;
    }


}


{'fraction_non_alphanumeric': 0.1853932584269663, 'fraction_numerical': 0.016853932584269662, 'mean_word_length': 1.897018970189702, 'pattern_counts': {'":': 0, '<': 7, '<?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': '3093640', 'n_tokens_mistral': 372, 'n_tokens_neox': 343, 'n_words': 61}