Revision 967 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/frantext/frantextLoader.groovy

frantextLoader.groovy (revision 967)
126 126
if (MONITOR != null && MONITOR.isCanceled()) { return MONITOR.done(); }
127 127
List<File> srcfiles = srcDir.listFiles();
128 128
for (File f : srcfiles) { // check XML format, and copy file into binDir
129
	if (f.isHidden() || f.getName().equals("import.xml") || f.getName().matches("metadata\.....?") || f.getName().endsWith(".properties"))
129
	if (f.isHidden() || f.getName().equals("import.xml") || f.getName().matches("metadata\\.....?") || f.getName().endsWith(".properties"))
130 130
		continue;
131 131
	if (ValidateXml.test(f)) {
132 132
		FileCopy.copy(f, new File(txmDir, f.getName()));

Also available in: Unified diff