Answers are grounded in this paper and cite their sources.
Regular expression matching asks whether a string of length n belongs to the language described by a regular expression of length m. We give an algorithm that solves this problem in linear space and O(nm log log n/log² n + n + m) time. This improves the leading term of the previous best worst-case constant-alphabet time bound by a factor of √log n. The key new technique is a two-dimensional tabulation specialized to the regular expression.
No takes yet. Share an insight, caveat, or question.
Bille et al. (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: