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 条
  • [1] Fast and compact regular expression matching
    Bille, Philip
    Farach-Colton, Martin
    THEORETICAL COMPUTER SCIENCE, 2008, 409 (03) : 486 - 496
  • [2] Matching Trace Patterns with Regular Policies
    Baader, Franz
    Bauer, Andreas
    Tin, Alwen
    LANGUAGE AND AUTOMATA THEORY AND APPLICATIONS, 2009, 5457 : 105 - +
  • [3] An Improved DFA for Fast Regular Expression Matching
    Ficara, Domenico
    Giordano, Stefano
    Procissi, Gregorio
    Vitucci, Fabio
    Antichi, Gianni
    Di Pietro, Andrea
    ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2008, 38 (05) : 31 - 40
  • [4] Fast matching of twig patterns
    Li, Jiang
    Wang, Junhu
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2008, 5181 : 523 - 536
  • [5] TOOLS FOR VERY FAST REGULAR EXPRESSION MATCHING
    Pasetto, Davide
    Petrini, Fabrizio
    Agarwal, Virat
    COMPUTER, 2010, 43 (03) : 50 - 58
  • [6] Towards Fast Regular Expression Matching in Practice
    Wang, Kai
    Li, Jun
    ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2013, 43 (04) : 531 - 532
  • [7] A Fast Regular Expressions Matching Algorithm for NIDS
    Zhang, Meng-meng
    Sun, Yan
    Wang, Jing-zhong
    APPLIED MATHEMATICS & INFORMATION SCIENCES, 2013, 7 (02): : 755 - 761
  • [8] Abstracting and Counting Synchronizing Processes
    Ganjei, Zeinab
    Rezine, Ahmed
    Eles, Petru
    Peng, Zebo
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION (VMCAI 2015), 2015, 8931 : 227 - 244
  • [9] Counting dynamically synchronizing processes
    Ganjei, Zeinab
    Rezine, Ahmed
    Eles, Petru
    Peng, Zebo
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2016, 18 (05) : 517 - 534
  • [10] Counting dynamically synchronizing processes
    Zeinab Ganjei
    Ahmed Rezine
    Petru Eles
    Zebo Peng
    International Journal on Software Tools for Technology Transfer, 2016, 18 : 517 - 534