How Re.search Works In Python