Skip to content

Latest commit

 

History

History
2 lines (2 loc) · 71 Bytes

正则.md

File metadata and controls

2 lines (2 loc) · 71 Bytes
判断0-100整数  
var reg = new RegExp("^(\[1-9]\d|100|0)$");