计算机科学 > 形式语言与自动机理论
[提交于 2026年6月25日]
标题:Selective Memoization for Efficient Backtracking Regular Expression Matching
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Backtracking regular expression matchers are widely used due to their expressive power but may exhibit exponential worst-case matching time. Memoization provides a principled method for eliminating redundant computation and ensuring linear matching time, but full memoization is memory-intensive and impractical. We introduce the Minimum Feedback Node (MFN) memoization scheme, a selective memoization strategy based on computing a minimum feedback vertex set of an automaton. We establish relationships with existing memoization schemes and analyze their behaviour under both Thompson and Glushkov automaton constructions.
提交历史
来自:EPTCS[v1] 2026年6月25日 星期四 07:13:03 UTC