This function is not smart enough to identify the character values in the final example of use and thus be able to warn the user. You could use a stringpatternmatching test such as.
这个函数还不够灵巧,不能区分最后使用的示例中的字符值,所以不能警告用户。
2
KMP scan algorithm is improved by means of the analysis of stringpatternmatching BF and KMP. The complexity analysis reveals that the improved algorithm, KMPA, is more effective than KMP.