Regular expression sub-matching using partial derivatives

  • Authors:
  • Martin Sulzmann;Kenny Zhuo Ming Lu

  • Affiliations:
  • Hochschule Karlsruhe, Karlsruhe, Germany;Nanyang Polytechnic, Singapore, Singapore

  • Venue:
  • Proceedings of the 14th symposium on Principles and practice of declarative programming
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Regular expression sub-matching is the problem of finding for each sub-part of a regular expression a matching sub-string. Prior work applies Thompson and Glushkov NFA methods for the construction of the matching automata. We propose the novel use of derivatives and partial derivatives for regular expression sub-matching. Our benchmarking results show that the run-time performance is promising and that our approach can be applied in practice.