1
funagi 2013-10-23 13:59:01 +08:00 1
match()是从起始位置开始匹配,urlContent1起始位置是换行符,当然匹配不到了,应该用search()。
详见:http://wiki.ubuntu.org.cn/Python%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F%E6%93%8D%E4%BD%9C%E6%8C%87%E5%8D%97#match.28.29_vs_search.28.29 |
2
HDecember OP 喔喔~~~~好的~~~谢谢~~~!
|