提交 0407f2b6 编写于 作者: M m0_52158390

Sun Aug 27 16:57:00 CST 2023 inscode

上级 10526521
const regex = /^(?:[0-5]?[0-9]{1,2}|6[0-7][0-8])$/;
const number = '123';
const number = '679';
if (regex.test(number)) {
console.log('符合要求');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册