2012
DOI: 10.1007/s00224-012-9389-0
|View full text |Cite
|
Sign up to set email alerts
|

Extended Regular Expressions: Succinctness and Decidability

Abstract: 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" regu… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

1
33
0

Year Published

2012
2012
2023
2023

Publication Types

Select...
7
2

Relationship

2
7

Authors

Journals

citations
Cited by 35 publications
(34 citation statements)
references
References 21 publications
1
33
0
Order By: Relevance
“…We observe that there exists a JFA(4) M with L(M ) = L(α). This automaton M matches factors according to the complete matching order ((1, 4), (2,5), (6,7), (8,9), (3,10)). The trick is that after matching the factors related to the matching position (6, 7), i. e., the factors corresponding to the occurrences of x 4 , the counter responsible for factors corresponding to x 4 is reused to match the factors related to the matching position (8,9).…”
Section: Discussionmentioning
confidence: 99%
See 1 more Smart Citation
“…We observe that there exists a JFA(4) M with L(M ) = L(α). This automaton M matches factors according to the complete matching order ((1, 4), (2,5), (6,7), (8,9), (3,10)). The trick is that after matching the factors related to the matching position (6, 7), i. e., the factors corresponding to the occurrences of x 4 , the counter responsible for factors corresponding to x 4 is reused to match the factors related to the matching position (8,9).…”
Section: Discussionmentioning
confidence: 99%
“…On the other hand, the original introduction of backreferences has been motivated by practical needs, which implies that such radical solutions cannot be used in various applied settings. Furthermore, as demonstrated by Freydenberger [7], regular expressions with backreferences allow the specification of regular languages in a much more compact manner than their counterparts without backreferences. More precisely, the size difference between extended regular expressions and equivalent "normal" regular expressions is not bounded by any recursive function.…”
Section: Introductionmentioning
confidence: 99%
“…Aho [1], Freydenberger [9]). These expressions extend the regular expressions with variable binding and repetition operators; e. g., for every expression α, the extended expression (α)%x xx generates the language of all www with w ∈ L(α) (α generates some w ∈ L(α), %x assigns that w to x, and the subsequent uses of x repeat this w -hence, xx generates ww).…”
Section: Proof (Sketch Of the Proof Of Lemma 12)mentioning
confidence: 99%
“…We show that every vstar-free xregex can be converted into an equivalent core spanner. Since all undecidability results by Freydenberger [12] also apply to vstar-free xregexes, these undecidability results carry over to core spanners. This also has various consequences for the minimization and the relative succinctness of classes of spanner representations.…”
Section: Introductionmentioning
confidence: 93%