FILTER REGULAR EXPRESSION
First Claim
Patent Images
1. A method comprising:
- determining a passing set of strings and a blocked set of other strings;
determining a first regular expression based on the passing set;
comparing the first regular expression with the blocked set of other strings to determine that at least one of the other strings would be passed through the first regular expression;
based on the comparison determination, at at least one processor, dividing the passing set into a first subset of the passing set of strings and a second subset of the passing set of strings based on similarity;
determining a second regular expression based on the first subset and a third regular expression based on the second subset; and
ORing the second regular expression and the third regular expression to determine a filter regular expression.
4 Assignments
0 Petitions
Accused Products
Abstract
Example embodiments disclosed herein relate to determining a regular expression from a passing set of strings and a blocked set of strings. A regular expression is determined based on the passing set. The regular expression is compared to the blocked set. The passing set is divided into subsets based on the comparison. Regular expressions are determined for the subsets and are ORed together to determine a filter regular expression.
-
Citations
15 Claims
-
1. A method comprising:
-
determining a passing set of strings and a blocked set of other strings; determining a first regular expression based on the passing set; comparing the first regular expression with the blocked set of other strings to determine that at least one of the other strings would be passed through the first regular expression; based on the comparison determination, at at least one processor, dividing the passing set into a first subset of the passing set of strings and a second subset of the passing set of strings based on similarity; determining a second regular expression based on the first subset and a third regular expression based on the second subset; and ORing the second regular expression and the third regular expression to determine a filter regular expression. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory machine-readable storage medium storing instructions that, if executed by at least one processor of a device, cause the device to:
-
(a) determine a passing set of strings and a blocked set of other strings; (b) determine a regular expression based on the passing set; (c) divide the passing set into two subsets of strings based on similarity if one of the other strings would be passed through the regular expression based on a comparison; (d) for each of the subsets;
determine respective subset regular expressions based on the respective subset and for any of the subsets for which one of the other strings would be passed through the respective subset regular expression, divide the respective subset into two further subsets and repeat (d) on that respective subset; andORing the regular expressions of the subsets that do not pass through any of the other strings to generate a filter regular expression. - View Dependent Claims (10, 11, 12)
-
-
13. A computing device comprising:
-
a string determination module to determine a passing set of strings and a blocked set of other strings; a regular expression determination module to determine a regular expression based on the passing set; a string division module to divide the passing set into a two subsets of strings based on similarity if one of the other strings would be passed through the regular expression based on a comparison, wherein the regular expression determination module and the string division module are used to recursively act on each of the two subsets of strings until none of the other strings are passed through the respective regular expressions; and an ORing module to OR the regular expressions generated by the regular expression determination module during the recursive actions to generate a filter regular expression. - View Dependent Claims (14, 15)
-
Specification