摘要: 正则表达式,简单的说就是用一个“字符串”来描述一个特征,然后去验证另外一个“字符串”是否符合这个特征。 正则表达式在线测试工具 http://tool.chinaz.com/regex 实例一,判断字符串全是小写字母 实例二,从字符串中提取手机号 阅读全文
posted @ 2017-05-02 14:15 鲨鱼逛大街 阅读(298) 评论(0) 推荐(0) 编辑
摘要: urllib2 GET https://www.oschina.net/home/login urllib2 POST https://www.oschina.net/action/user/hash_login {'email': 'abc@qq.com', 'pwd': '123456', 's 阅读全文
posted @ 2017-05-02 09:26 鲨鱼逛大街 阅读(259) 评论(0) 推荐(0) 编辑