摘要: 在线测试工具: https://regexr.com/ 参考链接: 正则表达式 https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Regular_Expressions String.prototype.replace() h 阅读全文
posted @ 2019-12-11 15:41 Dream_It_Possible 阅读(137) 评论(0) 推荐(0) 编辑
摘要: shell判断一个变量是否为空方法总结 https://www.jb51.net/article/154835.htm 1.判断变量 复制代码代码如下: read -p "input a word :" wordif [ ! -n "$word" ] ;then echo "you have not 阅读全文
posted @ 2019-12-11 15:32 Dream_It_Possible 阅读(8144) 评论(0) 推荐(0) 编辑