Paper record

W2136238707

A Four Russians algorithm for regular expression pattern matching

Eugene W. Myers

Year
1992
Venue
Journal of the ACM
References
15
Cited by
138

Details and counts from OpenAlex.

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.