var r = /^\+?[1-9][0-9]*$/; //判断正整数 r.test(str);
Powered by: 博客园 Copyright © 2024 shenyixin Powered by .NET 8.0 on Kubernetes