I got a problem about Python Regex.
>>> import re
>>> print re.match('img', 'test.img')
None
>>> print re.match('test', 'test.img')
<_sre.SRE_Match object at 0x7f3fac8a0100>
>>>
Any character after dot(.) won't be parsed, is there any way to solve this problem?