import re
def extract_home_away_team(game_str):
# 예시 문자열: [03-13] [한밭] KIA _ 1 vs 6 _ 한화
match = re.match(r".*\\[(.*?)\\]\\s+(.*?)\\s+_.*_\\s+(.*)", game_str)
if not match:
return None, None, None
stadium, away_team, home_team = match.groups()
return stadium, away_team.strip(), home_team.strip()