Paper record
W2162481186Fast text searching for regular expressions or automaton searching on tries
Ricardo A. Baeza-Yates, Gastón H. Gonnet
- Year
- 1996
- Venue
- Journal of the ACM
- References
- 23
- Cited by
- 147
Details and counts from OpenAlex.
Abstract
We present algorithms for efficient searching of regular expressions on preprocessed text, using a Patricia tree as a logical model for the index. We obtain searching algorithms that run in logarithmic expected time in the size of the text for a wide subclass of regular expressions, and in sublinear expected time for any regular expression. This is the first such algorithm to be found with this complexity.