Using regex for answer comparison