(expr: str)
| 1161 | |
| 1162 | |
| 1163 | def _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 | |
| 1168 | def math_render_issues(text: str) -> list[dict[str, object]]: |
no outgoing calls
no test coverage detected