• Home
  • Search
  • Regular expression matching with multi-strings and intervals
  • Cite Icon37
  • https://doi.org/10.5555/1873601.1873705Copy DOI Icon

Regular expression matching with multi-strings and intervals

  • Jan 17, 2010
  • Philip Bille +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Regular expression matching is a key task (and often computational bottleneck) in a variety of software tools and applications. For instance, the standard grep and sed utilities, scripting languages such as perl, internet traffic analysis, XML querying, and protein searching. The basic definition of a regular expression is that we combine characters with union, concatenation, and kleene star operators. The length m is proportional to the number of characters. However, often the initial operation is to concatenate characters in fairly long strings, e.g., if we search for certain combinations of words in a firewall. As a result, the number k of strings in the regular expression is significantly smaller than m. Our main result is a new algorithm that essentially replaces m with k in the complexity bounds for regular expression matching. More precisely, after an O(m log k) time and O(m) space preprocessing of the expression, we can match it in a string presented as a stream of characters in O(k log w/w + log k) time per character, where w is the number w of bits in a memory word. For large w, this corresponds to the previous best bound of O(m log w/w + logm). Prior to this work no O(k) bound per character was known. We further extend our solution to efficiently handle character class interval operators C{x, y}. Here, C is a set of characters and C{x, y}, where x and y are integers such that 0 ≤ x ≤ y, represents a string of length between x and y from C. These character class intervals generalize variable length gaps which are frequently used for pattern matching in computational biology applications.

Similar Papers
  • Conference Article
  • Citations12

Regular Expression Matching with Memristor TCAMs for Network Security

  • Jul 17, 2018
  • Catherine E Graves +11
  • Conference Article
  • Citations4

A multiple simple regular expression matching architecture and coprocessor for deep packet inspection

  • Aug 01, 2008
  • Wei Zhang +3
  • Research Article
  • Citations165

A Survey on Regular Expression Matching for Deep Packet Inspection: Applications, Algorithms, and Hardware Platforms

  • Jan 01, 2016
  • IEEE Communications Surveys & Tutorials
  • Chengcheng Xu +4
  • Conference Article
  • Citations3

Translating Regular Expression Matching into Transducers

  • Sep 01, 2010
  • Y Minamide +2
  • Research Article

Design of a Regular Expression Matching System Based on Network on Chip

  • Jun 14, 2013
  • The Open Electrical & Electronic Engineering Journal
  • Linhai Cui +3
  • Conference Article
  • Citations18

PaREM: A Novel Approach for Parallel Regular Expression Matching

  • Dec 01, 2014
  • Suejb Memeti +1
  • Book Chapter

Multi-pattern Finite Automation Based Regular Expression Matching

  • Jan 01, 2012
  • Zhanjie Wang +2
  • Research Article
  • Citations4

Regular Expression Matching and Operational Semantics

  • Aug 13, 2011
  • Electronic Proceedings in Theoretical Computer Science
  • Asiri Rathnayake +1
  • Conference Article

Memory-efficient regular expression matching for Chinese network content audit

  • Nov 01, 2009
  • Zezhi Zhu +3
  • Research Article
  • Citations79

High-Performance and Compact Architecture for Regular Expression Matching on FPGA

  • Jul 01, 2012
  • IEEE Transactions on Computers
  • Yi-Hua Yang +1
  • Research Article
  • Citations17

On the semantics of regular expression parsing in the wild

  • Sep 20, 2016
  • Theoretical Computer Science
  • Martin Berglund +1
  • Conference Article
  • Citations126

A workload for evaluating deep packet inspection architectures

  • Oct 01, 2008
  • Michela Becchi +2
  • Conference Article
  • Citations6

An Efficient Hardware Matching Engine for Regular Expression with Nested Kleene Operators

  • Sep 01, 2011
  • Yoichi Wakaba +3
  • Conference Article
  • Citations9

Reorganized and Compact DFA for Efficient Regular Expression Matching

  • Jun 01, 2011
  • Kai Wang +3
  • Conference Article
  • Citations8

An Approach for Unifying Rule Based Deep Packet Inspection

  • Jun 01, 2011
  • A Munoz +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.