Match Substring Python Example