refactor(string): change the placeholder escape for format string to <[{ }]> avoiding surprises
This commit is contained in:
parent
d8803880f1
commit
0bb036eec7
@ -25,8 +25,8 @@ NAMESPACE_MODULE_BEGIN(Utility)
|
||||
#define LEFT_BRACE LITERAL(T, '{')
|
||||
#define RIGHT_BRACE LITERAL(T, '}')
|
||||
|
||||
#define ESCAPE_LEFT_BRACE TStringView(LITERAL(T, "#{"))
|
||||
#define ESCAPE_RIGHT_BRACE TStringView(LITERAL(T, "}#"))
|
||||
#define ESCAPE_LEFT_BRACE TStringView(LITERAL(T, "<[{"))
|
||||
#define ESCAPE_RIGHT_BRACE TStringView(LITERAL(T, "}]>"))
|
||||
|
||||
NAMESPACE_PRIVATE_BEGIN
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user