Fast algorithms for extended regular expression matching and searching

4Citations
Citations of this article
3Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Extended regular expressions are an extension of ordinary regular expressions by the operations of intersection and complement. We give new algorithms for extended regular expression matching and searching which improve significantly the (very old) best upper bound for this problem, due to Hopcroft and Ullman. For an extended regular expression of size m with p intersection and complement operators and an input word of length n our algorithms run in time script O sign(mm2) and space script O sign(pn2) while the one of Hopcroft and Ullman runs in time script O sign(mn3) and space script O sign(mn2). Since the matching problem for semiextended regular expressions (only intersection is added) has been very recently shown to be LOGCFL complete, our algorithms are very likely the best one can expect. We also emphasize the importance of the extended regular expressions for software programs currently using ordinary regular expressions and show how the algorithms presented can be improved to run significantly faster in practical applications. © Springer-Verlag Berlin Heidelberg 2003.

Cite

CITATION STYLE

APA

Ilie, L., Shan, B., & Yu, S. (2003). Fast algorithms for extended regular expression matching and searching. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2607, 179–190. https://doi.org/10.1007/3-540-36494-3_17

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free