string-matching-break-prevents-duplicates

Status: IN

In `string-matching-in-an-array`, the `break` after appending a matched word to the result list is the sole mechanism preventing duplicate entries — no set or other dedup is used

Source: entries/2026/06/06/string-matching-in-an-array-solution.md

JSON