1.
/\s/表示,空白 为 true
/\S/表示,非空白 为 true
new RegExp(/\S/).test(' ') => fasle
2.
posted on 2019-10-18 10:47 童彪 阅读(158) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3