int nextStarting = start;
//now that we have a match, we have to find the one FileLinkDefinition that actually matches so it
//can determine the actual file. This makes the matcher more plugable.
FileLinkDefinition fileLinkDefinition = fileLinkDefinitionLord.getMatchingFileLinkDefinition(matchedText);
if (fileLinkDefinition != null) {
nextStarting = fileLinkDefinition.parseFileLink(text, matchedText, start, end, verifyFileExists, fileLinks);
} else {
//this is probably a serious problem that needs to be reported. However, we'll continue as if nothing bad happened.
System.out.println("We found a match but didn't find the matching definition. Matched text:\n" + text);
}