(m)
| 104 | # 1) 暂存已有数学块 |
| 105 | stash = [] |
| 106 | def _hide(m): |
| 107 | stash.append(m.group(0)) |
| 108 | return f"\x00M{len(stash)-1}\x00" |
| 109 | s_hidden = MATH_BLOCK_RE.sub(_hide, s) |
| 110 | |
| 111 | # 2) 把裸奔宏包进 $...$ |
nothing calls this directly
no outgoing calls
no test coverage detected