MCPcopy Create free account
hub / github.com/idank/explainshell / _audit_scan_roff_two_letter

Function _audit_scan_roff_two_letter

tests/evals/render/render_eval.py:1161–1167  ·  view source on GitHub ↗
(markdown: str, html: str)

Source from the content-addressed store, hash-verified

1159
1160
1161def _audit_scan_roff_two_letter(markdown: str, html: str) -> list[tuple[int, str]]:
1162 text = _audit_strip_tags(html)
1163 return [
1164 (match.start(), match.group(0))
1165 for match in _AUDIT_ROFF_TWO_LETTER_ESCAPE_RE.finditer(text)
1166 if _audit_is_known_escape_name(match.group(1))
1167 ]
1168
1169
1170def _audit_scan_roff_font(markdown: str, html: str) -> list[tuple[int, str]]:

Callers

nothing calls this directly

Calls 2

_audit_strip_tagsFunction · 0.85

Tested by

no test coverage detected