跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 形式语言与自动机理论

arXiv:2611.34904 (cs)
[提交于 2026年11月25日]

标题:Product-Linear POSIX Parsing

作者:Yuya Uezato
查看论文《Product-Linear POSIX Parsing》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:POSIX regular-expression matching reports capture spans determined by the parse tree that its disambiguation rules select. Thompson's classical construction decides whether an expression $E$ matches a text $w$ in product-linear time, $O(|E|\,|w|)$. Whether the POSIX parse can also be computed in product-linear time has remained open since the rules were standardized in 1992. For instance, the algorithm of Okui and Suzuki takes $O(|E|^2|w|)$ time after precomputation. We give, to our knowledge, the first algorithm that computes the POSIX parse and all capture spans in product-linear total time, $O(|E|\,|w|)$. It uses $O(|E|+|w|)$ working space and supports full matching, longest-prefix matching, and leftmost-longest search. The algorithm scans the text backward and keeps one preferred continuation per traversal state. It implements POSIX selection with lists of end positions of the open subexpressions, which it compares and updates in constant time.
主题: 形式语言与自动机理论 (cs.FL)
引用方式: arXiv:2611.34904 [cs.FL]
  (或者 arXiv:2611.34904v1 [cs.FL] 对于此版本)
  https://doi.org/10.48550/arXiv.2611.34904

提交历史

来自:Yuya Uezato
[v1] 2026年11月25日 星期三 18:53:43 UTC (53 KB)
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.FL
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-11
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站