我有以下字符串:
"{My {formatted {hi|hello}|formate{hi|hello} } {option 1|option 2|option 3}}";
Run Code Online (Sandbox Code Playgroud)
我想在"{"和"}"括号之间找到结果.
结果也应来自外层,而不是{hi|hello}:
"My {formatted {hi|hello}|formate{hi|hello} } {option 1|option 2|option 3}"
Run Code Online (Sandbox Code Playgroud)