[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/2513228.2513299acmconferencesArticle/Chapter ViewAbstractPublication PagesracsConference Proceedingsconference-collections
research-article

Finding overlaps within regular expressions with variable-length gaps

Published: 01 October 2013 Publication History

Abstract

Regular expressions play an important role in various fields in computer science. However, handling many regular expressions in parallel requires huge computation resources. Therefore, it is necessary to find and eliminate overlapping regular expressions. In this paper, we consider a special type of regular expressions: expressions comprised of characters and variable-length gaps between such characters. Specifically, we propose a bit-parallel solution to determine whether the languages of two expressions X and Y with variable-length gaps have a common string. The time complexity of our algorithm is O (min (LX 2|Σ|, LX LY)/w) where Σ is the alphabet from which X and Y are drawn, LX and LY are the lengths of the longest strings that respectively match X and Y, and w is the size of the computer word.

References

[1]
R. Baeza-Yates and G. H. Gonnet. A new approach to text searching. Communications of the ACM, 35(10):74--82, 1992.
[2]
J. E. Hopcroft and J. D. Ullman. Formal languages and their relation to automata. Addison-Wesley, 1969.
[3]
G. Navarro and M. Raffinot. Fast and simple character classes and bounded gaps pattern matching, with applications to protein searching. Journal of Computational Biology, 10(6):903--923, 2003.
[4]
S.-I. Oh, I. Lee, and M. S. Kim. Fast filtering for intrusion detection systems with the shift-or algorithm. In Communications (APCC), 2012 18th Asia-Pacific Conference on, pages 869--870. IEEE, 2012.
[5]
Snort. http://www.snort.org.
[6]
M. Zhang, Y. Zhang, and L. Hu. A faster algorithm for matching a set of patterns with variable length don't cares. Information Processing Letters, 110(6):216--220, 2010.

Cited By

View all
  • (2014)Measuring similarities among intrusion detection rules on the MapReduce environmentProceedings of the 2014 Conference on Research in Adaptive and Convergent Systems10.1145/2663761.2664224(58-60)Online publication date: 5-Oct-2014
  • (2014)Pattern Matching with Flexible WildcardsJournal of Computer Science and Technology10.1007/s11390-014-1464-329:5(740-750)Online publication date: 12-Sep-2014

Index Terms

  1. Finding overlaps within regular expressions with variable-length gaps

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      RACS '13: Proceedings of the 2013 Research in Adaptive and Convergent Systems
      October 2013
      529 pages
      ISBN:9781450323482
      DOI:10.1145/2513228
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

      Sponsors

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 01 October 2013

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. bit-parallelism
      2. regular expression matching problem

      Qualifiers

      • Research-article

      Funding Sources

      Conference

      RACS'13
      Sponsor:
      RACS'13: Research in Adaptive and Convergent Systems
      October 1 - 4, 2013
      Quebec, Montreal, Canada

      Acceptance Rates

      RACS '13 Paper Acceptance Rate 73 of 317 submissions, 23%;
      Overall Acceptance Rate 393 of 1,581 submissions, 25%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)4
      • Downloads (Last 6 weeks)0
      Reflects downloads up to 19 Dec 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (2014)Measuring similarities among intrusion detection rules on the MapReduce environmentProceedings of the 2014 Conference on Research in Adaptive and Convergent Systems10.1145/2663761.2664224(58-60)Online publication date: 5-Oct-2014
      • (2014)Pattern Matching with Flexible WildcardsJournal of Computer Science and Technology10.1007/s11390-014-1464-329:5(740-750)Online publication date: 12-Sep-2014

      View Options

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media