static Set collectSnippetIDsInText(S s) { ret mapToHashSet fsI(regexp_allFirstGroups(regexp_findSnippetIDs(), s)); }