Determination and handling of subexpression overlaps in regular expression decompostions
Abstract
A computer program product comprising a computer readable storage medium containing computer code that, when executed by a computer, implements a method for transforming a finite state automaton (FSA) of a regular expression, wherein the method includes determining, by a computer, a first subexpression R 1 and a second subexpression R 2 in the regular expression; calculating an overlap FSA, the overlap FSA configured to determine the existence of a partial overlap or a full overlap between the first subexpression R 1 and the second subexpression R 2 ; determining whether the overlap FSA has an accepting state; and in the event the overlap FSA is determined not to have an accepting state, determining that the transformation of the regular expression is safe, and constructing a transformed FSA of the regular expression comprising a first FSA for the first subexpression R 1 and a second FSA for the second subexpression R 2 .
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer program product comprising a non-transitory computer readable storage medium containing computer code that, when executed by a computer, implements a method for transforming a finite state automaton (FSA) of a regular expression, wherein the method comprises: determining a first subexpression R 1 and a second subexpression R 2 in the regular expression; calculating an overlap FSA, the overlap FSA configured to determine the existence of a partial overlap or a full overlap between the first subexpression R 1 and the second subexpression R 2 ; determining whether the overlap FSA ha
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- H. Franke et al., "Introduction to the Wire-Speed Processor and Architecture," Copyright 2010 International Business Machines Corporation, IBM J. Res. & Dev., vol. 54, No. 1, Paper 3, Jan./Feb. 2010, pp. 3:1-3:11.
- J. Van Lunteren, "High-Performance Pattern-Matching for Intrusion Detection," copyright 2006 IEEE, 13 pages.
- R. Krishnamurthy et al., "System T: A System for Declarative Information Extraction," SIGMOD Record, Dec. 2008, vol. 37, No. 4, pp. 7-13.
- R. Smith et al., "Deflating the Big Bang: Fast and Scalable Deep Packet Inspection with Extended Finite Automata," SIGCOMM 2008, Aug. 17-22, 2008, Seattle, Washington, USA, Copyright 2008 ACM, pp. 207-218.
- S. Kumar et al., "Curing Regular Expressions Matching Algorithms from Insomnia, Amnesia, and Acalulia," Apr. 27, 2007, Department of Computer Science and Engineering-Washington University, St. Louis, MO, 17 pages.