int indexStart = source.lastIndexOf("-");
int indexStart = source.lastIndexOf("smiley-") + "smiley-".length();
    private void parseSmile(Tidy tidy, Element element, String indent) {        String source = element.getAttribute("src");                if (source == null) {            return;        }                if (! source.matches(".*?smiley-[^.]+\\.gif")) { // TODO: check this convention            return;        }        int indexStart = source.lastIndexOf("-");        int indexEnd = source.lastIndexOf(".");                String smiley = source.substring(indexStart + 1, indexEnd);        String emoticon = EmoticonMap.getEmoticon(smiley);                if (emoticon != null) {            addText(emoticon, indent);        }    }