1 #include <stdio.h> 2 3 char haha[] = "nihaoma" 4 "niubi" 5 ""hello world ""; 6 int main(void) 7 { 8 printf("%s ", haha); 9 return 0; 10 }
匹配的正则表达式如下
(("(\.|[^"])*")s*)+
1 #include <stdio.h> 2 3 char haha[] = "nihaoma" 4 "niubi" 5 ""hello world ""; 6 int main(void) 7 { 8 printf("%s ", haha); 9 return 0; 10 }
匹配的正则表达式如下
(("(\.|[^"])*")s*)+