Encyclopedia of Algorithms

2016 Edition
| Editors: Ming-Yang Kao

Indexed Regular Expression Matching

  • Chee Yong ChanEmail author
  • Minos Garofalakis
  • Rajeev Rastogi
Reference work entry
DOI: https://doi.org/10.1007/978-1-4939-2864-4_339

Years and Authors of Summarized Work

  • 2003; Chan, Garofalakis, Rastogi

Problem Definition

Regular expressions (REs) provide an expressive and powerful formalism for capturing the structure of messages, events, and documents. Consequently, they have been used extensively in the specification of a number of languages for important application domains, including the XPath pattern language for XML documents [6] and the policy language of the Border Gateway Protocol (BGP) for propagating routing information between autonomous systems in the Internet [12]. Many of these applications have to manage large databases of RE specifications and need to provide an effective matching mechanism that, given an input string, quickly identifies all the REs in the database that match it. This RE retrieval problem is therefore important for a variety of software components in the middleware and networking infrastructure of the Internet.

The RE retrieval problem can be stated as follows: Given a large set S...

Keywords

Regular expression indexing Regular expression retrieval 
This is a preview of subscription content, log in to check access.

Recommended Reading

  1. 1.
    Altinel M, Franklin M (2000) Efficient filtering of XML documents for selective dissemination of information. In: Proceedings of 26th international conference on very large data bases, Cairo. Morgan Kaufmann, Missouri, pp 53–64Google Scholar
  2. 2.
    Beckmann N, Kriegel H-P, Schneider R, Seeger B (1990) The R*-tree: an efficient and robust access method for points and rectangles. In: Proceedings of the ACM international conference on management of data, Atlantic City. ACM, New York, pp 322–331Google Scholar
  3. 3.
    Chan C-Y, Felber P, Garofalakis M, Rastogi R (2002) Efficient filtering of XML documents with XPath expressions. In: Proceedings of the 18th international conference on data engineering, San Jose. IEEE Computer Society, Piscataway, pp 235–244CrossRefGoogle Scholar
  4. 4.
    Chan C-Y, Garofalakis M, Rastogi R (2002) RE-tree: an efficient index structure for regular expressions. In: Proceedings of 28th international conference on very large data bases, Hong Kong. Morgan Kaufmann, Missouri, pp 251–262CrossRefGoogle Scholar
  5. 5.
    Chan C-Y, Garofalakis M, Rastogi R (2003) RE-tree: an efficient index structure for regular expressions. VLDB J 12(2):102–119CrossRefGoogle Scholar
  6. 6.
    Clark J, DeRose S (1999) XML Path Language (XPath) Version 1.0. W3C Recommendation. http://www.w3.org./TR/xpath. Accessed Nov 1999
  7. 7.
    Diao Y, Fischer P, Franklin M, To R (2002) YFilter: efficient and scalable filtering of XML documents. In: Proceedings of the 18th international conference on data engineering, San Jose. IEEE Computer Society, Piscataway, pp 341–342CrossRefGoogle Scholar
  8. 8.
    Guttman A (1984) R-trees: a dynamic index structure for spatial searching. In: Proceedings of the ACM international conference on management of data, Boston. ACM, New York, pp 47–57Google Scholar
  9. 9.
    Hopcroft J, Ullman J (1979) Introduction to automata theory, languages, and computation. Addison-Wesley, ReadingzbMATHGoogle Scholar
  10. 10.
    Kannan S, Sweedyk Z, Mahaney S (1995) Counting and random generation of strings in regular languages. In: Proceedings of the 6th ACM-SIAM symposium on discrete algorithms, San Francisco. ACM, New York, pp 551–557Google Scholar
  11. 11.
    Rissanen J (1978) Modeling by shortest data description. Automatica 14:465–471zbMATHCrossRefGoogle Scholar
  12. 12.
    Stewart JW (1998) BGP4, inter-domain routing in the Internet. Addison Wesley, ReadingGoogle Scholar

Copyright information

© Springer Science+Business Media New York 2016

Authors and Affiliations

  • Chee Yong Chan
    • 1
    Email author
  • Minos Garofalakis
    • 2
  • Rajeev Rastogi
    • 3
  1. 1.National University of SingaporeSingaporeSingapore
  2. 2.Technical University of CreteChaniaGreece
  3. 3.AmazonWAUSA