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 条
  • [21] A fast bit-parallel algorithm for matching extended regular expressions
    Yamamoto, H
    Miyazaki, T
    COMPUTING AND COMBINATORICS, PROCEEDINGS, 2003, 2697 : 222 - 231
  • [22] Efficient Mapping of Nondeterministic Automata to FPGA for Fast Regular Expression Matching
    Korenek, Jan
    Kosar, Vlastimil
    PROCEEDINGS OF THE 13TH IEEE SYMPOSIUM ON DESIGN AND DIAGNOSTICS OF ELECTRONIC CIRCUITS AND SYSTEMS, 2010, : 54 - 59
  • [23] Towards a Fast Regular Expression Matching Method over Compressed Traffic
    Sun, Xiuwen
    Li, Hao
    Lu, Xingxing
    Zhao, Dan
    Peng, Zheng
    Hu, Chengchen
    2018 IEEE/ACM 26TH INTERNATIONAL SYMPOSIUM ON QUALITY OF SERVICE (IWQOS), 2018,
  • [24] Fast set intersection and two-patterns matching
    Cohen, Hagai
    Porat, Ely
    THEORETICAL COMPUTER SCIENCE, 2010, 411 (40-42) : 3795 - 3800
  • [25] Exploiting Repetitive Patterns for Fast Succinct Map Matching
    Yuuto, Chokushi
    Kanji, Tanaka
    Shogo, Hanada
    2013 SECOND IAPR ASIAN CONFERENCE ON PATTERN RECOGNITION (ACPR 2013), 2013, : 165 - 170
  • [26] Fast Set Intersection and Two-Patterns Matching
    Cohen, Hagai
    Porat, Ely
    LATIN 2010: THEORETICAL INFORMATICS, 2010, 6034 : 234 - 242
  • [27] Regular matching and inclusion on compressed tree patterns with constrained context variables
    Boneva, Iovka
    Niehren, Joachim
    Sakho, Momar
    INFORMATION AND COMPUTATION, 2022, 286
  • [28] A fast map-making preconditioner for regular scanning patterns
    Naess, Sigurd K.
    Louis, Thibaut
    JOURNAL OF COSMOLOGY AND ASTROPARTICLE PHYSICS, 2014, (08):
  • [29] Fast and Memory-Efficient Regular Expression Matching Using Transition Sharing
    Zhang, Shuzhuang
    Luo, Hao
    Fang, Binxing
    Yun, Xiaochun
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2009, E92D (10) : 1953 - 1960
  • [30] FPGA-CPU Architecture Accelerated Regular Expression Matching With Fast Preprocessing
    Zhong, Jincheng
    Chen, Shuhui
    Han, Biao
    COMPUTER JOURNAL, 2023, 66 (12): : 2928 - 2947