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 条
  • [41] Approximate counting of regular hypergraphs
    Dudek, Andrzej
    Frieze, Alan
    Rucinski, Andrzej
    Sileikis, Matas
    INFORMATION PROCESSING LETTERS, 2013, 113 (19-21) : 785 - 788
  • [42] Propagating Regular Counting Constraints
    Beldiceanu, Nicolas
    Flener, Pierre
    Pearson, Justin
    Van Hentenryck, Pascal
    PROCEEDINGS OF THE TWENTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2014, : 2616 - 2622
  • [43] Matching with regular constraints
    Kutsia, T
    Marin, M
    LOGIC FOR PROGRAMMING, ARTIFICIAL INTELLIGENCE, AND REASONING, PROCEEDINGS, 2005, 3835 : 215 - 229
  • [44] Counting Colorings of a Regular Graph
    Galvin, David
    GRAPHS AND COMBINATORICS, 2015, 31 (03) : 629 - 638
  • [45] Counting triangles in regular graphs
    He, Jialin
    Hou, Xinmin
    Ma, Jie
    Xie, Tianying
    Journal of Graph Theory, 107 (04): : 759 - 777
  • [46] FREME: A pattern partition based engine for fast and scalable regular expression matching in practice
    Wang, Kai
    Li, Jun
    JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2015, 55 : 154 - 169
  • [47] Maximum Matching in Regular and Almost Regular Graphs
    Yuster, Raphael
    ALGORITHMICA, 2013, 66 (01) : 87 - 92
  • [48] Maximum Matching in Regular and Almost Regular Graphs
    Raphael Yuster
    Algorithmica, 2013, 66 : 87 - 92
  • [49] Synchronizing the parameter non-matching chaotic systems
    Bu, SL
    Wang, SQ
    Ye, HQ
    JOURNAL OF MATERIALS SCIENCE & TECHNOLOGY, 2002, 18 (02) : 191 - 192
  • [50] Synchronizing the Parameter Non-matching Chaotic Systems
    Shouliang BU
    JournalofMaterialsScience&Technology, 2002, (02) : 191 - 192