1 #include<stdio.h> 2 main() 3 { 4 int i=0,j=0,x=0,y; 5 int number=2; 6 int count=0; 7 char ch; 8 char a[100][100]; 9 printf("请输入正规式以#结束 : "); 10 printf("^代表空 "); 11 printf("|代表或 "); 12 ch=getchar(); 13 do 14 { 15 if(ch=='|') 16 { 17 a[i][j]='