mlsanityData to 14 Oct 2026

Regular Expressions with Backreferences: Polynomial-Time Matching Techniques

arXiv 1903.05896 ↗First posted 14 Mar 2019cs.FL cs.IRcited by 1

Not on the map. Why?

Abstract (arXiv)

Regular expressions with backreferences (regex, for short), as supported by most modern libraries for regular expression matching, have an NP-complete matching problem. We define a complexity parameter of regex, called active variable degree, such that regex with this parameter bounded by a constant can be matched in polynomial-time. Moreover, we formulate a novel type of determinism for regex (on an automaton-theoretic level), which yields the class of memory-deterministic regex that can be matched in time O(|w|p(|r|)) for a polynomial p (where r is the regex and w the word). Natural extensions of these concepts lead to properties of regex that are intractable to check.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 14 Mar 2019.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.