正整数和0的正则表达式

/^([1-9]d*|[0]{1,1})$/

原文地址:https://www.cnblogs.com/llcdbk/p/11727405.html