A.class MyException(Exception):passB.create Exception(’MyException’)C.exception MyExceptionD.new Exception(’MyException’)
A.re.match(pattern,string)B.string.match(pattern)C.pattern.match(string)D.regex.match(string,pattern)
A.dict.get(key,default)B.dict[key]or defaultC.dict.getValue(key,default)D.dict.fetch(key,default)