pmt [OPTIONS] foo.txt pat [pat]*
algorithm | option | pattern | match | paper |
---|---|---|---|---|
knuth-morris-pratt | -k |
single | exact | Fast Pattern Matching in Strings |
boyer-moore | -b |
single | exact | A Fast String Searching Algorithm |
sellers | -s E_MAX |
single | approximate | The Theory and Computation of Evolutionary Distances: Pattern Recognition |
aho-corasick | -a |
multiple | exact | Efficient String Matching: An Aid to Bibliographic Search |