...
首页> 外文期刊>LIPIcs : Leibniz International Proceedings in Informatics >From Regular Expression Matching to Parsing
【24h】

From Regular Expression Matching to Parsing

机译:从正则表达式匹配到解析

获取原文
           

摘要

Given a regular expression R and a string Q, the regular expression parsing problem is to determine if Q matches R and if so, determine how it matches, e.g., by a mapping of the characters of Q to the characters in R. Regular expression parsing makes finding matches of a regular expression even more useful by allowing us to directly extract subpatterns of the match, e.g., for extracting IP-addresses from internet traffic analysis or extracting subparts of genomes from genetic data bases. We present a new general techniques for efficiently converting a large class of algorithms that determine if a string Q matches regular expression R into algorithms that can construct a corresponding mapping. As a consequence, we obtain the first efficient linear space solutions for regular expression parsing.
机译:给定正则表达式R和字符串Q,正则表达式解析问题是确定Q是否与R匹配,如果匹配,则确定其匹配方式,例如,通过将Q的字符映射到R中的字符。通过允许我们直接提取匹配项的子模式(例如,用于从互联网流量分析中提取IP地址或从遗传数据库中提取基因组的子部分),使查找正则表达式的匹配项变得更加有用。我们提出了一种新的通用技术,可以有效地将确定字符串Q是否匹配正则表达式R的一大类算法转换为可以构造对应映射的算法。因此,我们获得了第一个有效的线性空间解用于正则表达式解析。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号