Prefix-Free regular-expression matching

  • Authors:
  • Yo-Sub Han;Yajun Wang;Derick Wood

  • Affiliations:
  • Department of Computer Science, The Hong Kong University of Science and Technology;Department of Computer Science, The Hong Kong University of Science and Technology;Department of Computer Science, The Hong Kong University of Science and Technology

  • Venue:
  • CPM'05 Proceedings of the 16th annual conference on Combinatorial Pattern Matching
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

We explore the regular-expression matching problem with respect to prefix-freeness of the pattern. We show that the prefix-free regular expression gives only linear number of matching substrings in the size of a given text. Based on this observation, we propose an efficient algorithm for the prefix-free regular-expression matching problem. Furthermore, we suggest an algorithm to determine whether or not a given regular language is prefix-free.