Parameterized regular expressions and their languages
Abstract
We study regular expressions that use variables, or parameters, which are interpreted as alphabet letters. We consider two classes of languages denoted by such expressions: under the possibility semantics, a word belongs to the language if it is denoted by some regular expression obtained by replacing variables with letters; under the certainty semantics, the word must be denoted by every such expression. Such languages are regular, and we show that they naturally arise in several applications such as querying graph databases and program analysis. As the main contribution of the paper, we provide a complete characterization of the complexity of the main computational problems related to such languages: nonemptiness, universality, containment, membership, as well as the problem of constructing NFAs capturing such languages. We also look at the extension when domains of variables could be arbitrary regular languages, and show that under the certainty semantics, languages remain regular and the complexity of the main computational problems does not change. (C) 2013 Elsevier B.V. All rights reserved.
Más información
Título según WOS: | Parameterized regular expressions and their languages |
Título según SCOPUS: | Parameterized regular expressions and their languages |
Título de la Revista: | THEORETICAL COMPUTER SCIENCE |
Volumen: | 474 |
Editorial: | ELSEVIER SCIENCE BV |
Fecha de publicación: | 2013 |
Página de inicio: | 21 |
Página final: | 45 |
Idioma: | English |
URL: | http://linkinghub.elsevier.com/retrieve/pii/S0304397513000029 |
DOI: |
10.1016/j.tcs.2012.12.036 |
Notas: | ISI, SCOPUS |