The original programs from Costas Menico were made for a searching a
string in a string, like the Pascal POS command.
I have made modifications to search a string in a ARRAY of CHAR, i.e. in a
zero terminated string or in any buffer. But naturally, you can use it for
normal string buffers. Look at the demo BUFSERACH.PAS
Jochen Magnus, Lahnstein, Germany in May 93.
For details about the original programs and the BM algorithm see POSBM.DOC.
|