15-1. 识别下列字符串:“bat,” “bit,” “but,” “hat,” “hit,” 或 “hut” from re import match word = raw_input('input: ') m = match('^[bh][aiu]t$', word) if m is not None: print m.group() else: print 'not match' 15–2. 匹配用一个空格分隔的任意一对单词,比如,名和姓. from re import match na…