Update context_helpers.py

This commit is contained in:
Kevin Turcios 2026-03-22 03:56:26 -05:00
parent 387c909c9e
commit 12c6113f7e

View file

@ -18,6 +18,7 @@ def normalize_c_style_code(code: str) -> str:
Works for JavaScript, TypeScript, and Java.
"""
# go
code = re.sub(r"//.*$", "", code, flags=re.MULTILINE)
code = re.sub(r"/\*.*?\*/", "", code, flags=re.DOTALL)
return " ".join(code.split())