Error mining for regular expression patterns

  • Authors:
  • Giuseppe Castagna;Dario Colazzo;Alain Frisch

  • Affiliations:
  • CNRS, Ecole Normale Supérieure de Paris, France;LRI, Université Paris Sud, Orsay, France;INRIA, Rocquencourt, France

  • Venue:
  • ICTCS'05 Proceedings of the 9th Italian conference on Theoretical Computer Science
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

In the design of type systems for XML programming languages based on regular expression types and patterns the focus has been over result analysis, with the main aim of statically checking that a transformation always yields data of an expected output type. While being crucial for correct program composition, result analysis is not sufficient to guarantee that patterns used in the transformation are correct. In this paper we motivate the need of static detection of incorrect patterns, and provide a formal characterization based on pattern matching operational semantics, together with locally exact type analysis techniques to statically detect them.