首页> 外文会议>International Symposium on Fundamentals of Computation Theory >A New Linearizing Restriction in the Pattern Matching Problem
【24h】

A New Linearizing Restriction in the Pattern Matching Problem

机译:模式匹配问题中的一种新的线性化限制

获取原文

摘要

In the pattern matching problem, there can be a quadratic number of matching substrings in the size of a given text. The linearizing restriction finds, at most, a linear number of matching substrings. We first explore two well-known linearizing restriction rules, the longest-match rule and the shortest-match substring search rule, and show that both rules give the same result when a pattern is an infix-free set even though they have different semantics. Then, we introduce a new linearizing restriction, the leftmost non-overlapping match rule that is suitable for find-and-replace operations in text searching, and propose an efficient algorithm when the pattern is a regular language according to the new match rule.
机译:在模式匹配问题中,可以存在在给定文本的大小的匹配子串的二次数量。线性化限制最多发现匹配子串的线性数量。我们首先探讨两个众所周知的线性化限制规则,最长匹配的规则和最短匹配的子字符搜索规则,并显示两个规则,即使它们具有不同的语义,也可以在无缀无限制时给出相同的结果。然后,我们介绍了一个新的线性化限制,最左边的非重叠匹配规则适用于文本搜索中的查找和替换操作,并在根据新匹配规则根据模式是常规语言提出有效的算法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号