Fast Matching of Regular Patterns with Synchronizing Counting

被引:2
|
作者
Holik, Lukas [1 ]
Sic, Juraj [1 ]
Turonova, Lenka [1 ]
Vojnar, Tomas [1 ]
机构
[1] Brno Univ Technol, Brno, Czech Republic
关键词
EXPRESSIONS; WEAK;
D O I
10.1007/978-3-031-30829-1_19
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Fast matching of regular expressions with bounded repetition, aka counting, such as (ab){50,100}, 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).
引用
收藏
页码:392 / 412
页数:21
相关论文
共 50 条
  • [31] Fast, memory-efficient regular expression matching with NFA-OBDDs
    Yang, Liu
    Karim, Rezwana
    Ganapathy, Vinod
    Smith, Randy
    COMPUTER NETWORKS, 2011, 55 (15) : 3376 - 3393
  • [32] High Speed Regular Expression Matching Engine with Fast Pre-Processing
    Fu, Zhe
    Li, Jun
    CHINA COMMUNICATIONS, 2019, 16 (02) : 177 - 188
  • [33] High Speed Regular Expression Matching Engine with Fast Pre-Processing
    Zhe Fu
    Jun Li
    中国通信, 2019, 16 (02) : 177 - 188
  • [34] Counting, Recounting and Matching
    Sury, B.
    RESONANCE-JOURNAL OF SCIENCE EDUCATION, 2016, 21 (04): : 353 - 368
  • [35] Isolation, matching, and counting
    Allender, E
    Reinhardt, K
    THIRTEENTH ANNUAL IEEE CONFERENCE ON COMPUTATIONAL COMPLEXITY - PROCEEDINGS, 1998, : 92 - 100
  • [36] Ideal regular languages and strongly connected synchronizing automata
    Reis, Rogerio
    Rodaro, Emanuele
    THEORETICAL COMPUTER SCIENCE, 2016, 653 : 97 - 107
  • [37] Toward Fast Regex Pattern Matching using Simple Patterns
    Haghighat, Mohammad Hashem
    Li, Jun
    2018 IEEE 24TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS 2018), 2018, : 662 - 670
  • [38] Counting Colorings of a Regular Graph
    David Galvin
    Graphs and Combinatorics, 2015, 31 : 629 - 638
  • [39] Counting Subwords and Regular Languages
    Colbourn, Charles J.
    Dougherty, Ryan E.
    Lidbetter, Thomas F.
    Shallit, Jeffrey
    DEVELOPMENTS IN LANGUAGE THEORY, DLT 2018, 2018, 11088 : 231 - 242
  • [40] Counting triangles in regular graphs
    He, Jialin
    Hou, Xinmin
    Ma, Jie
    Xie, Tianying
    JOURNAL OF GRAPH THEORY, 2024, 107 (04) : 759 - 777