INNER CODE UNIT · Python
load_cell
kevinpbuckley/VibeUE · scripts/check_skills_consistency.py:41
load_cell = cells[-2]
routed.update(re.findall(r"`([a-z0-9]+(?:-[a-z0-9]+)*)`", load_cell))
return routed
def frontmatter_description(text):
if not text.startswith("---"):
return None
close = text.find("\n---", 3)
if close == -1:
return None
for line in text[3:close].splitlines():
stripped = line.strip()
if stripped.startswith("description:"):
return stripped[len("description:"):].strip().strip('"').strip("'")
return None