Regexpr Next Input by nn

char b[99],B[99];x[9];main(f,g){f=fopen(g="a","r");for(g=fopen(g,g);gets(b);f?puts(b)+rewind(f):fputs(b,g))for(;f&&~fscanf(f,"s/%[^/]/%[^/]/ ",x+2,B);)regexec(x+5,b,1,x,regcomp(x+5,x+2,1))||strcpy(b+x[0],strcat(B,b+x[1]));}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page