Invention Grant
- Patent Title: Detecting longest regular expression matches
-
Application No.: US14953455Application Date: 2015-11-30
-
Publication No.: US10467272B2Publication Date: 2019-11-05
- Inventor: Kubilay Atasu
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee Address: US NY Armonk
- Agency: Cantor Colburn LLP
- Agent Daniel Morris
- Main IPC: G06F16/335
- IPC: G06F16/335 ; G06F16/33 ; G06F16/903

Abstract:
In one embodiment, a computer-implemented method includes receiving a regular expression (regex) and input data. One or more spans are identified representing one or more matches in which the regex matches at least a portion of the input data. Each span corresponds to a corresponding match and includes a start offset of the corresponding match in the input data and an end offset of the corresponding match in the input data. The one or more matches are identified in a sequence. An order of the sequence of the one or more spans is modified. One or more filtered spans are generated, by a computer processor, by filtering out a subset of the one or more spans that are each contained by at least one other span in the one or more spans. The identifying, the modifying, and the filtering are performed at streaming rate.
Public/Granted literature
- US20170083616A1 DETECTING LONGEST REGULAR EXPRESSION MATCHES Public/Granted day:2017-03-23
Information query