Example : email word pair locator
EMail-Search-Word-Pairs.dss identifies messages with words "near" each other. Note the "loopback" that effectively resets the counter if one of the words is "near itself".
The min/max range in the "(near)" pattern defines exactly what "near" means :
In this case "nearness" is defined as: within 50 characters.
EMail-Search-Word-Pairs.dss makes use of two string sets :
- Word1 - first word
- Word2 - other word
Each "Word" string set should contain at least one word. Either string set could contain a group of alternate words :