Python Regex Find Integer Solutions