Fast algorithms for extended regular expression matching and searching

被引:0
|
作者
Ilie, L [1 ]
Shan, BZ [1 ]
Yu, S [1 ]
机构
[1] Univ Western Ontario, Dept Comp Sci, London, ON N6A 5B7, Canada
来源
STACS 2003, PROCEEDINGS | 2003年 / 2607卷
关键词
extended regular expressions; pattern matching; finite automata; algorithms; complexity;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Extended regular expressions are an extension of ordinary regular expressions by the operations of intersection and complement. We give new algorithms for extended regular expression matching and searching which improve significantly the (very old) best upper bound for this problem, due to Hopcroft and Ullman. For an extended regular expression of size m with p intersection and complement operators and an input word of length n our algorithms run in time O(mn(2)) and space O(pn(2)) while the one of Hopcroft and Ullman runs in time O(mn(3)) and space O(mn(2)). Since the matching problem for semiextended regular expressions (only intersection is added) has been very recently shown to be LOGCFL complete, our algorithms are very likely the best one can expect. We also emphasize the importance of the extended regular expressions for software programs currently using ordinary regular expressions and show how the algorithms presented can be improved to run significantly faster in practical applications.
引用
收藏
页码:179 / 190
页数:12
相关论文
共 50 条
  • [11] Fast Regular Expression Matching in a Large Static Text
    Abu Hawas, Fatma
    Arslan, Abdullah N.
    2016 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE & COMPUTATIONAL INTELLIGENCE (CSCI), 2016, : 1304 - 1309
  • [12] Fast Regular Expression Matching Using Small TCAM
    Meiners, Chad R.
    Patel, Jignesh
    Norige, Eric
    Liu, Alex X.
    Torng, Eric
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2014, 22 (01) : 94 - 109
  • [13] ParaRegex: Towards Fast Regular Expression Matching in Parallel
    Fu, Zhe
    Liu, Zhi
    Li, Jun
    PROCEEDINGS OF THE 2016 SYMPOSIUM ON ARCHITECTURES FOR NETWORKING AND COMMUNICATIONS SYSTEMS (ANCS'16), 2016, : 113 - 114
  • [14] A fast bit-parallel algorithm for matching extended regular expressions
    Yamamoto, H
    Miyazaki, T
    COMPUTING AND COMBINATORICS, PROCEEDINGS, 2003, 2697 : 222 - 231
  • [15] Compact and fast algorithms for safe regular expression search
    Champarnaud, JM
    Coulon, F
    Parantho, T
    INTERNATIONAL JOURNAL OF COMPUTER MATHEMATICS, 2004, 81 (04) : 383 - 401
  • [16] Algorithms on extended (δ, γ)-matching
    Lee, Inbok
    Clifford, Raphael
    Kim, Sung-Ryul
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2006, PT 3, 2006, 3982 : 1137 - 1142
  • [17] Searching for Fast Demosaicking Algorithms
    Ma, Karima
    Gharbi, Michael
    Adams, Andrew
    Kamil, Shoaib
    Li, Tzu-Mao
    Barnes, Connelly
    Ragan-Kelley, Jonathan
    ACM TRANSACTIONS ON GRAPHICS, 2022, 41 (05):
  • [18] 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
  • [19] 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,
  • [20] Fast text searching for regular expressions or automaton searching on tries
    BaezaYates, RA
    Gonnet, GH
    JOURNAL OF THE ACM, 1996, 43 (06) : 915 - 936