Patent ID: 11934433
Assignee: RAPID7, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A system comprising:
one or more processors; and
a memory coupled to the one or more processors, wherein the memory stores program instructions executable by the one or more processors to implement a search expression generator that is configured to:
determine an initial expression to begin generation of a search expression, wherein the search expression is to be generated based on desired instances of a field in a training set of text strings;
perform an iterative process, wherein individual iterations of the iterative process comprise:
expanding the search expression with at least one of a positive character set, a negative character set, or a quantifier based on samples in the training set,
evaluating the expanded search expression to determine how well the search expression matches the desired instances of the field in the training set, and
rejecting the expansion if the expanded search expression matches the desired instances of the field less accurately than the search expression prior to the expansion; and

terminate the iterative process when a terminating condition is reached.