标签:
re.match:
match from the beginning of the string
re.search:
scan through the whole string to find a match
dash ‘-‘ inside square ‘[]‘ means a range. put dash in the end to just match a dash
标签:
原文地址:http://www.cnblogs.com/lynnge/p/5636110.html