Method and data structure for performing regular expression searches in a fixed length word language
Abstract
Given a language with all words in a fixed length, and a set of regular expressions composed only from characters in the alphabet of the language or the “?” sign (any single character), the method of the invention defines a data structure that is used to efficiently find the set of matching regular expressions for a given query word. The method may be adjusted by appropriate selection of a control variable to vary the storage space required and the search time necessary to complete the query. Specifically, the method of the present invention provides a space versus time trade-off between the storage space required for the data structures of the present invention and the amount of time to search those data structures to determine the matching set of regular expressions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 3.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
In a language using an alphabet having a first number of characters L forming words of a fixed length W, and a second number N of regular expressions composed only from the characters in the alphabet and the ‘?’ sign, a computer implemented method of finding a set of matching regular expressions associated with a given query word, comprising the steps of: selecting a base B from 1 to W to divide the words of length W into J=W/B groups; creating a lookup table for each of the J groups, the lookup table for each of the J groups having K=L B entries, each of the K entries being a bitmap of lengt
- Claim 2Depends on #1
The method of claim 1 , wherein the step of seeding comprises the steps, for each regular e
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗