A Four Russians algorithm for regular expression pattern matching
Author:
Open Access
- 1 April 1992
- journal article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 39 (2) , 432-448
Abstract
Given a regular expression R of length P and a word A of length N , the membership problem is to determine if A is in the language denoted by R . An O ( PN /lg N ) time algorithm is presented that is based on a lg N speedup of the standard O ( PN ) time simulation of R 's nonderministic finite automaton on A using a combination of the node-listing and “Four-Russians” paradigms. This result places a new worst-case upper bound on regular expression pattern matching. Moreover, in practice the method provides an implementation that is faster than existing software for small regular expressions.Keywords
This publication has 9 references indexed in Scilit:
- Approximate matching of regular expressionsBulletin of Mathematical Biology, 1989
- Very fast LR parsingACM SIGPLAN Notices, 1986
- Open Problems in Stringology1985
- A faster algorithm computing string edit distancesJournal of Computer and System Sciences, 1980
- Correcting Counter-Automaton-Recognizable LanguagesSIAM Journal on Computing, 1978
- A Simple Algorithm for Global Data Flow Analysis ProblemsSIAM Journal on Computing, 1975
- Node listings applied to data flow analysis1975
- The String-to-String Correction ProblemJournal of the ACM, 1974
- Programming Techniques: Regular expression search algorithmCommunications of the ACM, 1968