标签:lse test smon var function func code style bsp
//验证金额 function isMoney(s) { var regu = "^[0-9]+[\.]{0,1}[0-9]{0,9}$"; var re = new RegExp(regu); if (re.test(s)) { return true; } else { return false; } }
标签:lse test smon var function func code style bsp
原文地址:https://www.cnblogs.com/jinzhiming/p/9334148.html