首页> 外文期刊>Theory of computing systems >Extended Regular Expressions: Succinctness and Decidability
【24h】

Extended Regular Expressions: Succinctness and Decidability

机译:扩展正则表达式:简洁性和可判定性

获取原文
获取原文并翻译 | 示例

摘要

Most modern implementations of regular expression engines allow the use of variables (also called backreferences). The resulting extended regular expressions (which, in the literature, are also called practical regular expressions, rewbr, or regex) are able to express non-regular languages. The present paper demonstrates that extended regular-expressions cannot be minimized effectively (neither with respect to length, nor number of variables), and that the tradeoff in size between extended and "classical" regular expressions is not bounded by any recursive function. In addition to this, we prove the undecidability of several decision problems (universality, regularity, and cofiniteness) for extended regular expressions. Furthermore, we show that all these results hold even if the extended regular expressions contain only a single variable.
机译:正则表达式引擎的大多数现代实现都允许使用变量(也称为反向引用)。生成的扩展正则表达式(在文献中也称为实用正则表达式,rewbr或regex)能够表达非正则语言。本文证明扩展正则表达式不能有效地最小化(无论是长度还是变量数量),并且扩展和“经典”正则表达式之间的大小折衷不受任何递归函数的限制。除此之外,我们证明了扩展正则表达式的几个决策问题(通用性,正则性和确定性)的不确定性。此外,我们证明,即使扩展的正则表达式仅包含单个变量,所有这些结果仍然成立。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号