pub fn replace_sensitive_word(
txt: &str,
match_type: &MatchType,
replace_char: char,
) -> StringExpand description
替换敏感字字符
§Examples
let result = rust_by_example::dfa::replace_sensitive_word("信用卡之家", &MatchType::MinMatchType, '*')
assert_eq!(result,"**卡之家");