如何在多行字符串模式匹配?
通过对字符串模式匹配BF和KMP算法的分析,提出了改进KMP扫描算法的方法,并通过对算法的复杂性进行分析,结果表明:改进后的算法KMPA比算法KMP更有效。
KMP scan algorithm is improved by means of the analysis of string pattern matching BF and KMP. The complexity analysis reveals that the improved algorithm, KMPA, is more effective than KMP.
如果您忽略了此参数或传递空字符串,则将使用默认匹配模式。
If you omit this parameter or pass an empty string, the default matching modes are used.
应用推荐