Submatch extraction
Abstract
A method for submatch extraction may include receiving an input string, receiving a regular expression. The method may further include converting the regular expression with capturing groups into ordered binary decision diagrams (OBDDs) to extract submatches.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for submatch extraction, the method comprising: receiving an input string; receiving a regular expression; converting, by a processor, the regular expression including a capturing group into an ordered binary decision diagram (OBDD); processing the input string by the OBDD, one input string character at a time, wherein processing of an individual input string character comprises outputting a tag representing a capturing group that corresponds to the individual input string character; determining that the regular expression matches the input string; and in response to a determination t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- "Perl regular expression inconsistency", PerlMonks, Download Date: Mar. 13, 2013. .
- "Perl regular expression inconsistency", PerlMonks, Download Date: Mar. 13, 2013. <www.perlmonks.org/?node id=536515>.
- "Regex Posix", Haskell Wiki, Download Date: May 15, 2013. .
- "Regex Posix", Haskell Wiki, Download Date: May 15, 2013. <http://www.haskell.org/haskellwiki/Regex-Posix>.
- "Regular Expressions", The Open Group Base Specification Issue 6, IEEE Std 1003.1, 2004. .