void (String s, XmlTag tag) { if (s != null && !(tag instanceof HtmlTag) && s.length() < 1000) { Matcher matcher = PREFIX_PATTERN.matcher(s); while (matcher.find()) { String group = matcher.group(); myHolder.addUsedPrefix(group.substring(0, group.length() - 1)); } } }