arXivPreprintOpen accesscs.DS
Faster Regular Expression Matching via Two-Dimensional Tabulation
Philip Bille, Inge Li G{\o}rtz
Key points
From the paper's conclusion- The key new technique is a two-dimensional tabulation specialized to the regular expression.
Abstract
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^2 n + n + m)$ time. This improves the leading term of the previous best worst-case constant-alphabet time bound by a factor of $\sqrt{\log n}$. The key new technique is a two-dimensional tabulation specialized to the regular expression.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Product-Linear POSIX ParsingarXiv · 2026
- MacCorles: Minimum Alignment Cost Computation on Run-Length Encoded StringsarXiv · 2026
- Move-rb: Faster Bi-Directional r-indexes and Approximate Pattern MatchingarXiv · 2026
- A simple algorithm for checking equivalence of counting functions on free monoidsInternational Journal of Algebra and Computation · 2026
- Accelerating String Comparison in RLZ Compressed Sequences via LCE JumpsbioRxiv · 2026
- Cell-Probe Lower Bounds and Complexity-Preserving Reductions for Suffix Array QueriesarXiv · 2026