Regular expression matching is a key task (and often the computational bottleneck) in a variety of widely used software tools and applications, for instance, the unix grep and sed commands, scripting languages such as awk and perl, programs for analyzing massive data streams, etc. We show how to solve this ubiquitous task in linear space and O(nm(loglogn)/(logn)3/2+n+m) time where m is the length of the expression and n the length of the string. This is the first improvement for the dominant O(nm/logn) term in Myers' O(nm/logn+(n+m)logn) bound [JACM 1992]. We also get improved bounds for external memory. © 2009 Springer Berlin Heidelberg.
CITATION STYLE
Bille, P., & Thorup, M. (2009). Faster regular expression matching. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 5555 LNCS, pp. 171–182). https://doi.org/10.1007/978-3-642-02927-1_16
Mendeley helps you to discover research relevant for your work.