Shift-or text searching
char *search( pat, text ) char *pat, *text; { int B, bits, i, m, mask[MAXCHAR]; if( pat[0]==EOS ) return( text ); B = 1; for( m=0; m
C
source (717.srch.c)
©
Addison-Wesley
Publishing Co. Inc.