Deterministic Regular Expressions With Back-References

02/05/2018
by   Dominik D. Freydenberger, et al.
0

Most modern libraries for regular expression matching allow back-references (i.e., repetition operators) that substantially increase expressive power, but also lead to intractability. In order to find a better balance between expressiveness and tractability, we combine these with the notion of determinism for regular expressions used in XML DTDs and XML Schema. This includes the definition of a suitable automaton model, and a generalization of the Glushkov construction. We demonstrate that, compared to their non-deterministic superclass, these deterministic regular expressions with back-references have desirable algorithmic properties (i.e., efficiently solvable membership problem and some decidable problems in static analysis), while, at the same time, their expressive power exceeds that of deterministic regular expressions without back-references.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/14/2019

Regular Expressions with Backreferences: Polynomial-Time Matching Techniques

Regular expressions with backreferences (regex, for short), as supported...
research
09/17/2021

Games for Succinctness of Regular Expressions

We present a version of so called formula size games for regular express...
research
01/04/2023

Grammar construction methods for extended deterministic expressions

Extended regular expressions with counting and interleaving are widely u...
research
12/08/2022

Technical Report: Match-reference regular expressions and lenses

A lens is a single program that specifies two data transformations at on...
research
05/31/2018

Practical Study of Deterministic Regular Expressions from Large-scale XML and Schema Data

Regular expressions are a fundamental concept in computer science and wi...
research
08/05/2020

Glushkov's construction for functional subsequential transducers

Glushkov's construction has many interesting properties and they become ...
research
06/05/2019

An Effective Algorithm for Learning Single Occurrence Regular Expressions with Interleaving

The advantages offered by the presence of a schema are numerous. However...

Please sign up or login with your details

Forgot password? Click here to reset