我有很多这种格式的线条。我需要捕获引用的文本块(包括引号),但最后一个块可能是null
(没有引号)。
"1" "Melbourne is the capital of Australia." "0" "Canberra is the capital of Australia."
"2" "New York is the capital of Florida." "0" "Tallahassee is the capital of Florida."
"3" "Paris is the capital of France." "1" null
比赛结束后预期更换:
{"id":\1,"statement":\2,"correct":\3,"additional":\4},
答案 0 :(得分:1)