摘要: 1 >>> import re#|表示或的意思 2 >>> re.search(r"Fish(C|D)","FishC") 3 4 >>> re.search(r"Fish(C|D)","FishE") 5 >>> re.search(r"^FishC","Fish") 6 >>> re.search(r"^FishC","FishC dfadf" 阅读全文
posted @ 2017-04-18 21:40 猪猪宝丫 阅读(317) 评论(0) 推荐(0) 编辑