我正在通过一个XML模式验证一个表单,我得到了这个错误:
[facet 'pattern'] The value '12' is not accepted by the pattern '\d{10}'
\d{10}是什么意思?我可以去哪里学习更多关于模式方面的知识?
\d{10}
发布于 2011-11-25 20:14:46
\d{10}表示您应该有10个字符可以匹配任意十进制数字(包括0-9)
https://stackoverflow.com/questions/8268739
相似问题