The matchesCanOverlap global property controls whether multiple pattern matches within a string can be overlapping or nested or not. The default is No, so when a pattern match is found, the search for the next match begins with the character after the previous match. The setting of this property affects the results returned by the everyMatch, everyRange, everyOccurrence, and everyOffset functions when used with patterns, and when requesting a particular match, range, occurrence, or offset of a pattern as with "the third occurrence of pattern in text".