adding is_match() and is_match_at()