<commit_before>import React,{Component,cloneElement} from 'react'
import classnames from 'classnames'
import Toast from '../Dialog/Toast'
import fetch from '../fn/fetch'
import debounce from 'lodash.debounce'
import '../../style/Form/form.scss';
export default class Form extends Component{
    static rules={
        username:{
            func(value){
                return /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(value)||/^1[0-9]{10}$/.test(value);
            },
            des:'%s格式不正确'
        },
        pwd:{
            regExp:/(?!\d+$)\w+/i,
            des:'%s可以包含数字或字母，但不可全为数字'
        }
    }
    static defaultTypes={
        onChange:()=>{}
    }<commit_msg>初始化项目<commit_after>import React,{Component,cloneElement} from 'react'
import classnames from 'classnames'
import Toast from '../Dialog/Toast'
import fetch from '../fn/fetch'
import debounce from 'lodash.debounce'
import '../../style/Form/form.scss';
export default class Form extends Component{
    static rules={
        username:{
            func(value){
                return /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(value)||/^1[0-9]{10}$/.test(value);
            },
            des:'%s格式不正确'
        },
        pwd:{
            regExp:/(?!\d+$)\w+/i,
            des:'%s可以包含数字或字母，但不可全为数字'
        }
    }
    static defaultProps={
        onChange:()=>{}
    }
{'fraction_non_alphanumeric': 0.21082621082621084, 'fraction_numerical': 0.018518518518518517, 'mean_word_length': 2.129175946547884, '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': '3173611', 'n_tokens_mistral': 529, 'n_tokens_neox': 514, 'n_words': 82}