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

Function _has_left_right_mismatch

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

Source from the content-addressed store, hash-verified

1157
1158
1159def _has_left_right_mismatch(expr: str) -> bool:
1160 return len(re.findall(r"(?<!\\)\\left\b", expr)) != len(re.findall(r"(?<!\\)\\right\b", expr))
1161
1162
1163def _has_double_escaped_tex_command(expr: str) -> bool:

Callers 1

math_render_issuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected