sherlockpipe.bayesian_fit.fit_report.replace_mathrm

sherlockpipe.bayesian_fit.fit_report.replace_mathrm(match)

Strips the LaTeX \mathrm wrapper and keeps only the inner content.

Parameters

matchre.Match

The regex match object containing text inside \mathrm{...}.

Returns

str

The inner content wrapped in braces.