Extended Regular Expressions: Succinctness and Decidability

被引:6
|
作者
Freydenberger, Dominik D. [1 ]
机构
[1] Goethe Univ, Inst Informat, Frankfurt, Germany
关键词
extended regular expressions; regex; decidability; non-recursive tradeoffs; AUTOMATA;
D O I
10.4230/LIPIcs.STACS.2011.507
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Most modern implementations of regular expression engines allow the use of variables (also called back references). 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, equivalence, inclusion, 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.
引用
收藏
页码:507 / 518
页数:12
相关论文
共 50 条