A Polynomial Time Match Test for Large Classes of Extended Regular Expressions
Preprint
Abstract
In the present paper, we study the match test for extended regular expressions. We approach this NP-complete problem by introducing a novel variant of two-way multihead automata, which reveals that the complexity of the match test is determined by a hidden combinatorial property of extended regular expressions, and it shows that a restriction of the corresponding parameter leads to rich classes with a polynomial time match test. For presentational reasons, we use the concept of pattern languages in order to specify extended regular expressions. While this decision, formally, slightly narrows the scope of our results, an extension of our concepts and results to more general notions of extended regular expressions is straightforward.Keywords
All Related Versions
This publication has 6 references indexed in Scilit:
- A FORMAL STUDY OF PRACTICAL REGULAR EXPRESSIONSInternational Journal of Foundations of Computer Science, 2003
- Introduction to automata theory, languages, and computation, 2nd editionACM SIGACT News, 2001
- A note on parsing pattern languagesPattern Recognition Letters, 1995
- Pattern languages with and without erasingInternational Journal of Computer Mathematics, 1994
- Finding patterns common to a set of stringsJournal of Computer and System Sciences, 1980
- On two-way multihead automataJournal of Computer and System Sciences, 1973