private List<AlternateFileMatcher> getFileMatchers(AlternateConfiguration configuration, String currentFilename) {
List<AlternateFileMatcher> result = new ArrayList<AlternateFileMatcher>();
// genericRegexActive (before freeRegexItems, because generic groups)
if (configuration.genericRegexActive) {
AlternateGenericRegexFileMatcher fileMatcher = new AlternateGenericRegexFileMatcher(currentFilename, configuration);
if (fileMatcher.canProcess()) {
result.add(fileMatcher);
}
}
// freeRegexItems
if (configuration.freeRegexActive) {