A fast bit-parallel algorithm for matching extended regular expressions

  • Authors:
  • Hiroaki Yamamoto;Takashi Miyazaki

  • Affiliations:
  • Department of Information Engineering, Shinshu University, Nagano-shi, Japan;Nagano National College of Technology, Nagano-shi, Japan

  • Venue:
  • COCOON'03 Proceedings of the 9th annual international conference on Computing and combinatorics
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

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.