i’m not sure that it’s you. re_replace can be pretty weird sometimes
i can’t make it capture $F5 despite using syntax that i know is valid regex
here’s a crappy workaround
“`string path = chs(“path”); s@blah = re_replace(sprintf(“%05d”, @Frame), ‘1234’, path); “`
aha
“`s@blah2 = re_replace(‘[$]F5’, ‘2345’, path);“`
escape the $ with square brackets. that’s totally sane and documented