MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / _has_double_escaped_tex_command

Function _has_double_escaped_tex_command

scripts/lint_note.py:1163–1165  ·  view source on GitHub ↗
(expr: str)

Source from the content-addressed store, hash-verified

1161
1162
1163def _has_double_escaped_tex_command(expr: str) -> bool:
1164 pattern = r"(?<!\\)\\\\(" + "|".join(sorted(DOUBLE_ESCAPED_TEX_COMMANDS)) + r")\b"
1165 return bool(re.search(pattern, expr))
1166
1167
1168def math_render_issues(text: str) -> list[dict[str, object]]:

Callers 1

math_render_issuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected