New Algorithms for Regular Expression Matching
New Algorithms for Regular Expression Matching
复制标题
正则表达式匹配的新算法
DOI:
10.1007/11786986_56
复制
发表时间:
2006
期刊:
影响因子:
--
通讯作者:
Philip Bille
中科院分区:
文献类型:
--
作者:
Philip Bille
In this paper we revisit the classical regular expression matching problem, namely, given a regular expression R and a string Q consisting of m and n symbols, respectively, decide if Q matches one of the strings specified by R. We present new algorithms designed for a standard unit-cost RAM with word length w ≥logn. We improve the best known time bounds for algorithms that use O(m) space, and whenever w ≥log2n, we obtain the fastest known algorithms, regardless of how much space is used.