(m)
| 395 | html_pat = rf"(\\definecolor\{{{name_pattern}\}}\{{HTML\}}\{{)[0-9A-Fa-f]{{6}}(\}})" |
| 396 | |
| 397 | def repl_html(m): |
| 398 | return f"{m.group(1)}{hexval}{m.group(2)}" |
| 399 | |
| 400 | new_content, n = re.subn(html_pat, repl_html, content, flags=re.MULTILINE) |
| 401 |
nothing calls this directly
no outgoing calls
no test coverage detected