๐ฎ
๐ฎ
The Ethereal
Regular Expressions with Backreferences: Polynomial-Time Matching Techniques
March 14, 2019 ยท The Ethereal ยท ๐ J. Autom. Lang. Comb.
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Markus L. Schmid
arXiv ID
1903.05896
Category
cs.FL: Formal Languages
Cross-listed
cs.IR
Citations
5
Venue
J. Autom. Lang. Comb.
Last Checked
2 months ago
Abstract
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.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
๐ Similar Papers
In the same crypt โ Formal Languages
๐ฎ
๐ฎ
The Ethereal
Supervisor Synthesis to Thwart Cyber Attack with Bounded Sensor Reading Alterations
๐ฎ
๐ฎ
The Ethereal
An Abstraction-Based Framework for Neural Network Verification
๐ฎ
๐ฎ
The Ethereal
Recurrent Neural Networks as Weighted Language Recognizers
๐ฎ
๐ฎ
The Ethereal
TeSSLa: Temporal Stream-based Specification Language
๐ฎ
๐ฎ
The Ethereal