Finding overlaps within regular expressions with variable-length gaps

Juan Mendivelso, Y. Pinzón, Inbok Lee
{"title":"Finding overlaps within regular expressions with variable-length gaps","authors":"Juan Mendivelso, Y. Pinzón, Inbok Lee","doi":"10.1145/2513228.2513299","DOIUrl":null,"url":null,"abstract":"Regular expressions play an important role in various fields in computer science. However, handling many regular expressions in parallel requires huge computation resources. Therefore, it is necessary to find and eliminate overlapping regular expressions. In this paper, we consider a special type of regular expressions: expressions comprised of characters and variable-length gaps between such characters. Specifically, we propose a bit-parallel solution to determine whether the languages of two expressions <i>X</i> and <i>Y</i> with variable-length gaps have a common string. The time complexity of our algorithm is <i>O</i> (min (<i>L</i><sub><i>X</i></sub> <sup>2</sup>|Σ|, <i>L</i><sub><i>X</i></sub> <i>L</i><sub><i>Y</i></sub>)/<i>w</i>) where Σ is the alphabet from which <i>X</i> and <i>Y</i> are drawn, <i>L</i><sub><i>X</i></sub> and <i>L</i><sub><i>Y</i></sub> are the lengths of the longest strings that respectively match <i>X</i> and <i>Y</i>, and <i>w</i> is the size of the computer word.","PeriodicalId":120340,"journal":{"name":"Research in Adaptive and Convergent Systems","volume":"77 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Research in Adaptive and Convergent Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2513228.2513299","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Regular expressions play an important role in various fields in computer science. However, handling many regular expressions in parallel requires huge computation resources. Therefore, it is necessary to find and eliminate overlapping regular expressions. In this paper, we consider a special type of regular expressions: expressions comprised of characters and variable-length gaps between such characters. Specifically, we propose a bit-parallel solution to determine whether the languages of two expressions X and Y with variable-length gaps have a common string. The time complexity of our algorithm is O (min (LX 2|Σ|, LX LY)/w) where Σ is the alphabet from which X and Y are drawn, LX and LY are the lengths of the longest strings that respectively match X and Y, and w is the size of the computer word.
在具有可变长度间隙的正则表达式中查找重叠
正则表达式在计算机科学的各个领域发挥着重要的作用。然而,并行处理许多正则表达式需要大量的计算资源。因此,有必要查找和消除重叠的正则表达式。在本文中,我们考虑一种特殊类型的正则表达式:由字符和这些字符之间可变长度的间隔组成的表达式。具体来说,我们提出了一个位并行解决方案来确定两个表达式X和Y的语言具有可变长度间隔是否具有公共字符串。我们算法的时间复杂度为O (min (lx2 |Σ|, LX LY)/w),其中Σ为绘制X和Y的字母表,LX和LY为分别匹配X和Y的最长字符串的长度,w为计算机单词的大小。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信