I see a bug in the regex powering StripFormatCodes that was recently posted on the Openplanet Discord (\$([0-9a-fA-F]{1,3}|[iIoOnNmMwWsSzZtTgG<>]|[lLhHpP](\[[^\]]+\])?)): links with an empty uri in brackets get the $ and letter stripped, but the brackets remain.
For example with "Open$l[]planet":
Text::StripFormatCodes output: "Open[]planet"
Game rendering: "Open[planet]()"
I see a bug in the regex powering StripFormatCodes that was recently posted on the Openplanet Discord (
\$([0-9a-fA-F]{1,3}|[iIoOnNmMwWsSzZtTgG<>]|[lLhHpP](\[[^\]]+\])?)
): links with an empty uri in brackets get the $ and letter stripped, but the brackets remain.For example with "Open$l[]planet":
Text::StripFormatCodes
output: "Open[]planet" Game rendering: "Open[planet]()"