結果 : brute force string matching algorithm pseudocode