I was writing a custom print function to support capturing variables via a format string that looks like so:
print("text {var_name} other text {another_var} ... ");
it works and users can implement the IDebug interface for thier class that exposed a ToString() function to support this printing. only issue i have now is making it possible to do something like "\{raw_text}" so that any section preceeded by a ‘\’ is printed as is. but “\{” deletes the character and i end up with “raw_text}”. is it possible to tell as to ignore unknown escape sequences?