刚刚在为ZK的正则表达式郁闷
ZK规定,在Textbox中加入正式表达式时要以"/"符号包围,比如:
<textbox constraint="/.+@.+\.[a-z]+/"/>
这是必须字符和@号
我的正则表达式:
<textbox id="txt_rowid" constraint="/^\d*/"/>
这是只能是数字
千万记得要用"/"的方式,要一对
转载于:https://blog.51cto.com/chenying/134904
转载于:https://blog.51cto.com/chenying/134904