skip to main content
10.5555/1756869.1756901guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

A fast bit-parallel algorithm for matching extended regular expressions

Published: 25 July 2003 Publication History

Abstract

This paper addresses the extended regular expression matching problem: given an extended regular expression (a regular expression with intersection and complement) r of length m and a text string x = a1 ... an of length n, find all occurrences of substrings which match r. We will present a new bit-parallel pattern matching algorithm which runs in O((mn2 + ex(r)n3)/W) time and O((mn + ex(r)n2)/W) space, where ex(r) is the number of extended operators (intersection and complement) occurring in r, and W is word-length of a computer. In addition, we actually implement the proposed algorithm and evaluate the performance.

References

[1]
A.V. Aho, Algorithms for finding patterns in strings, In J.V. Leeuwen, ed. Handbook of theoretical computer science, Elsevier Science Pub., 1990.
[2]
A. Apostolico, Z. Galil ed., Pattern Matching Algorithms, Oxford University Press, 1997.
[3]
R. Baeza-Yates and G. Gonnet, Fast Text Searching for Regular Expressions or Automaton Searching on Tries, J. of the ACM, 43, 6, 915-936, 1996.
[4]
R. Baeza-Yates and B. Ribeiro-Neto, Modern Information Retrieval, Addison Wesley, 1999.
[5]
J.R. Knight and E.W. Myers, Super-Pattern matching, Algorithmica, 13, 1-2, 211- 243, 1995.
[6]
S.C. Hirst, A New Algorithm Solving Membership of Extended Regular Expressions, Tech. Report, The University of Sydney, 1989.
[7]
J.E. Hopcroft and J.D. Ullman, Introduction to automata theory language and computation, Addison Wesley, Reading Mass, 1979.
[8]
G. Myers, A Four Russians Algorithm for Regular Expression Pattern Matching, J. of the ACM, 39, 4, 430-448, 1992.
[9]
E. Myers and W. Miller, Approximate Matching of Regular Expressions, Bull. of Mathematical Biology, 51, 1, 5-37, 1989.
[10]
G. Navarro and M. Raffinot, Compact DFA Representation for Fast Regular Expression Search, Proc. WAE2001, LNCS 2141, 1-12, 2001.
[11]
S. Wu, U. Manber and E. Myers, A Sub-Quadratic Algorithm for Approximate Regular Expression Matching, J. of Algorithm, 19, 346-360, 1995.
[12]
H. Yamamoto, A New Recognition Algorithm for Extended Regular Expressions, Proc. ISAAC2001, LNCS 2223, 267-277, 2001.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Guide Proceedings
COCOON'03: Proceedings of the 9th annual international conference on Computing and combinatorics
July 2003
560 pages
ISBN:3540405348
  • Editors:
  • Tandy Warnow,
  • Binhai Zhu

Publisher

Springer-Verlag

Berlin, Heidelberg

Publication History

Published: 25 July 2003

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 01 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media