arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1605.00817cs.FL
收藏

增强正则表达式的导数

Derivatives for Enhanced Regular Expressions

Peter Thiemann

摘要:

正则语言在丰富的形式语言运算符下是封闭的。在正则表达式中描述这样的操作符会导致简洁的语言规范,但是将这样增强的正则表达式转换为有限自动机变得更加复杂。我们提出了一种方法,使直接建设的有限自动机从正则表达式增强进一步运营商,保持规律性。我们的建设是基于正则表达式的衍生物理论的扩展。为了保持关于导数的标准结果,我们发展了额外算子与导数相容的可导性准则。一些可导算子不保持正则性。导数为使用此类运算符增强的正则表达式的单词问题提供了一个决策过程。

英文摘要:

Regular languages are closed under a wealth of formal language operators. Incorporating such operators in regular expressions leads to concise language specifications, but the transformation of such enhanced regular expressions to finite automata becomes more involved. We present an approach that enables the direct construction of finite automata from regular expressions enhanced with further operators that preserve regularity. Our construction is based on an extension of the theory of derivatives for regular expressions. To retain the standard results about derivatives, we develop a derivability criterion for the compatibility of the extra operators with derivatives. Some derivable operators do not preserve regularity. Derivatives provide a decision procedure for the word problem of regular expressions enhanced with such operators.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑