Work

Disambiguation of Regular Expressions with Backreferences via Term Rewriting

Year: 2024
Type: article
Abstract: In this paper we focus on regular expressions with acyclic backreferences and treat them as a semiring satisfying certain theorems of Kleene algebra. Using these theorems as term rewriting rules, we introduce an algorithm for memory disambiguation of regular expressions. Furthermore, we demonstrate that the class of regexes with acyclic backreferences is closed under language reversal, in contrast to the generic backref-regexes, and provide the reversal algorithm, based on the disambiguation procedure. The results of our experiments revealed that, in certain cases, the matching time was significantly reduced when using the reversed expressions compared to the initial ones.
Language: English
Open Access status: diamond
OpenAlex ID: W4405366377
FWCI:
Cites: 21
Cited by:
Related to: 10