python leetcode 10. Regular Expression Matching

NoSuchKey