Regular expression generation using longest common subsequence algorithm on spans
Abstract
Disclosed herein are techniques related to automated generation of regular expressions. In some embodiments, a regular expression generator may receive input data comprising one or more character sequences. The regular expression generator may convert character sequences into a sets of regular expression codes and/or span data structures. The regular expression generator may identify a longest common subsequence shared by the sets of regular expression codes and/or spans, and may generate a regular expression based upon the longest common subsequence.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 43 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of generating regular expressions using a longest common subsequence (LCS) algorithm on spans, the comprising: receiving, by a regular expression generator comprising one or more processors, input data comprising a plurality of character sequences; converting, by the regular expression generator, each of the plurality of character sequences into a set of spans, resulting in a plurality of sets of spans, wherein each span comprises a data structure storing a character class code and a repetition count range; executing, by the regular expression generator, the longest common subsequence
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2023325157 A1 | Regular expression processor | — | 2 |
References Cited — Backward Prior Art (43)
Non-Patent Literature (5)
- “Adjacency Matrix”, Wikipedia, Available Online at: https://en.wikipedia.org/wiki/Adjacency_matrix, accessed from Internet on Jun. 19, 2018, pp. 1-7.
- “Big Data Preparation”, Online Product Page, ORACLE Cloud, Available Online at: https://web.archive.org/web/20160414153654/https://cloud.oracle.com/bigdatapreparation, Jul. 24, 2019, 5 pages.
- “Class Pattern”, Java™ Platform Standard Ed 8, Available Online at: https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#matcher-java.lang.CharSequence-, accessed from Internet on Sep. 25, 2018, 17 pages.
- “Depth-First Search”, Wikipedia, Available Online at: https://en.wikipedia.org/wiki/Depth-first_search, accessed from Internet on Jun. 19, 2018, pp. 1-7.
- “Explore Suggestions”, TRIFACTA, Available Online at: https://docs.trifacta.com/display/SS/Explore+Suggestions, Jul. 24, 2019, 4 pages.