Salomaa, Kai, et al. “A Formal Study of Practical Regular Expressions”. International Journal of Foundations of Computer Science, vol. 14, no. 6, 2003, pp. 1007-18, https://doi.org/10.1142/S012905410300214X.

Genre

  • Journal Article
Contributors
Author: Salomaa, Kai
Author: Campeanu, Cezar
Author: Yu, Sheng
Date Issued
2003
Abstract

Regular expressions are used in many practical applications. Practical regular expressions are commonly called "regex". It is known that regex are different from regular expressions. In this paper, we give regex a formal treatment. We make a distinction between regex and extended regex; while regex represent regular languages, extended regex represent a family of languages larger than regular languages. We prove a pumping lemma for the languages expressed by extended regex. We show that the languages represented by extended regex are incomparable with context-free languages and a proper subset of context-sensitive languages. Other properties of the languages represented by extended regex are also studied.

Language

  • English
Page range
1007-1018
Host Title
International Journal of Foundations of Computer Science
Host Abbreviated Title
Internat.J.Found.Comput.Sci.
Volume
14
Issue
6
ISSN
0129-0541