Skip to content
Discussion options

You must be logged in to vote

英文长度是按照字母计算的,需要将空格计算在内。
我印象中,定义的max_text_length需要比实际的长度至少多两位数。
比如要想识别身份证号,实际中身份证号是18位,那在config文件中定义的max_text_length至少要为20,否则会报错。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SWHL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #11327 on June 10, 2024 03:01.