sS parseImageSnippetURL(S url) { S id = regexpExtract("\\d+$", url); ret id == null ? null : "#" + id; }