regexp_findSnippetIDs (with "lib" or "#")