houbb / sensitive-word

👮‍♂️The sensitive word tool for java.(敏感词/违禁词/违法词/脏词。基于 DFA 算法实现的高性能 java 敏感词过滤工具框架。请勿发布涉及政治、广告、营销、翻墙、违反国家法律法规等内容。高性能敏感词检测过滤组件,附带繁体简体互换,支持全角半角互换,汉字转拼音,模糊搜索等功能。)
https://houbb.github.io/opensource/sensitive-word
Apache License 2.0
4.36k stars 589 forks source link

enableNumCheck支持指定连续数字位 #26

Closed SimonHu1993 closed 1 year ago

SimonHu1993 commented 1 year ago

默认是8,建议自定义长度,产品可能就要求9位以上- -

houbb commented 1 year ago

可以的 我有时间见一下这个特性

houbb commented 1 year ago

v2.1.0 已支持。

参见:数字检测特性