Publication Details

Fast Matching of Regular Patterns with Synchronizing Counting

HOLÍK Lukáš, HOLÍKOVÁ Lenka, SÍČ Juraj and VOJNAR Tomáš. Fast Matching of Regular Patterns with Synchronizing Counting. In: Foundations of Software Science and Computation Structures. Heidelberg: Springer Verlag, 2023, pp. 392-412. ISSN 0302-9743.
Czech title
Rychlé porovnávání regulárních vzorů se synchronizovaným počítáním
Type
conference paper
Language
english
Authors
Keywords

regex, counting automata, synchronizing counting

Abstract

Fast matching of regular expressions with bounded repetition, aka counting, such as (){,}, i.e., matching linear in the length of the text and independent of the repetition bounds, has been an open problem for at least two decades. We show that, for a wide class of regular expressions with counting, which we call synchronizing, fast matching is possible. We empirically show that the class covers nearly all counting used in usual applications of regex matching. This complexity result is based on an improvement and analysis of a recent matching algorithm that compiles regexes to deterministic counting-set automata (automata with registers that hold sets of numbers).

Published
2023
Pages
392-412
Journal
Lecture Notes in Computer Science, no. 13992, ISSN 0302-9743
Proceedings
Foundations of Software Science and Computation Structures
Conference
European Joint Conferences on Theory and Practice of Software -- ETAPS'23, Paris, FR
Publisher
Springer Verlag
Place
Heidelberg, DE
DOI
EID Scopus
BibTeX
@INPROCEEDINGS{FITPUB13002,
   author = "Luk\'{a}\v{s} Hol\'{i}k and Lenka Hol\'{i}kov\'{a} and Juraj S\'{i}\v{c} and Tom\'{a}\v{s} Vojnar",
   title = "Fast Matching of Regular Patterns with Synchronizing Counting",
   pages = "392--412",
   booktitle = "Foundations of Software Science and Computation Structures",
   journal = "Lecture Notes in Computer Science",
   number = 13992,
   year = 2023,
   location = "Heidelberg, DE",
   publisher = "Springer Verlag",
   ISSN = "0302-9743",
   doi = "10.1007/978-3-031-30829-1\_19",
   language = "english",
   url = "https://www.fit.vut.cz/research/publication/13002"
}
Back to top