How can I match the start and end in Python's regex?,"re.match('(ftp|http)://.*\\.(jpg|png)$', s)"