結果 : brute force algorithm for string matching