PulseAugur
实时 23:25:35
English(EN) On the Complexity of the Matching Problem of Regular Expressions with Backreferences

新研究详解带反向引用的正则表达式的复杂度

研究人员分析了带反向引用的正则表达式的匹配复杂度,这一特性扩展了传统正则表达式,但增加了对算法复杂度攻击的脆弱性。该论文在强指数时间假设下展示了硬度结果,并证明了当按表达式长度参数化时,该问题的 W[2]-hard 性。提出了一种改进的 $O(n \log^2 n)$ 时间算法来处理 1-use 反向引用,相比之前的 $O(n^2)$ 方法有了显著提升。 AI

影响 这项研究深入探讨了字符串匹配算法的理论基础,这对于理解处理复杂文本模式(包括 AI 中使用的模式)的系统的鲁棒性至关重要。

排序理由 学术论文,详细介绍理论计算机科学研究。[lever_c_demoted from research: ic=1 ai=0.7]

在 arXiv cs.CL 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

新研究详解带反向引用的正则表达式的复杂度

报道来源 [1]

  1. arXiv cs.CL TIER_1 English(EN) · Yuya Uezato ·

    On the Complexity of the Matching Problem of Regular Expressions with Backreferences

    ReDoS is a well-known type of algorithmic complexity attack, where an adversary supplies maliciously crafted strings to a regular expression matching engine, aiming to exhaust computational resources of systems. Even quadratic-time behavior in matching engines has been exploited …