semantic update

This commit is contained in:
2026-02-24 21:08:12 +03:00
parent 7a12ed0931
commit 95ae9c6af1
32 changed files with 60376 additions and 59911 deletions

10
test_parse2.py Normal file
View File

@@ -0,0 +1,10 @@
import re
patterns = {
"console_log": re.compile(r"console\.log\s*\(\s*['\"]\[[\w_]+\]\[[A-Za-z0-9_:]+\]"),
}
with open("frontend/src/lib/components/assistant/AssistantChatPanel.svelte") as f:
for i, line in enumerate(f):
if "console.log" in line:
m = patterns["console_log"].search(line)
print(f"Line {i+1}: {line.strip()} -> Match: {bool(m)}")