#85 消除部分警告
This commit is contained in:
@@ -12,7 +12,7 @@ TEST(PatternReplace, Grouping1)
|
||||
const char* find="(?<name1>John)|(?<name2>李梅梅)|(?<name3>Jake)";
|
||||
const char* replacement="${name1:+Joseph:${name2:+王桃花:Keith}}";
|
||||
const char* input="John loves 李梅梅, 李梅梅 loves Jake and Jake doesn't care about John and 李梅梅.";
|
||||
const char* expect="Joseph loves 王桃花, 王桃花 loves Keith and Keith doesn't care about Joseph and 王桃花.";
|
||||
__attribute__((unused)) const char* expect="Joseph loves 王桃花, 王桃花 loves Keith and Keith doesn't care about Joseph and 王桃花.";
|
||||
char* output=NULL;
|
||||
size_t output_sz=0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user