假设我有一些简单的布尔表达式我们的目标是去掉表达式中的大括号,例如
(A || B) && (C || D) => A && C || A && D || BFor example for expression(true || true) && (true || True)we will have the
我想捕捉匹配的花括号。Some example text with \added[author]{text with curly braces{some text}..}text with {}and {} and {}curly braces{some text}.. and extented text with curly braces {}
也就是说,我想用正则表达式捕捉\added[]{和}之间的文本(其相对结束的花括号</