l;main(p,s,t){for(gets(s),gets(t);p=memmem(t,99,s,++l);)printf("%.*s[%.*s]%s\n",p-t,t,l,p,p+l);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page