计算机科学 > 形式语言与自动机理论
[提交于 2024年7月30日]
标题:RE#: High Performance Derivative-Based Regex Matching with Intersection, Complement and Lookarounds
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present a tool and theory RE# for regular expression matching that is built on symbolic derivatives, does not use backtracking, and, in addition to the classical operators, also supports complement, intersection and lookarounds. We develop the theory formally and show that the main matching algorithm has input-linear complexity both in theory as well as experimentally. We apply thorough evaluation on popular benchmarks that show that RE# is over 71% faster than the next fastest regex engine in Rust on the baseline, and outperforms all state-of-the-art engines on extensions of the benchmarks often by several orders of magnitude.
提交历史
来自:Juhan Ernits[v1] 2024年7月30日 星期二 00:51:03 UTC