Make sigle pattern option compatible (contains match)

Change-Id: I3f6eb30786849f81a1d2a33a9b75e9cac4f7e165
diff --git a/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt b/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt
index e0d876a..add1669 100644
--- a/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt
+++ b/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt
@@ -192,7 +192,7 @@
 
                             doc.documentElement.normalize()
                             val docId: String = doc.documentElement.getAttribute("docid")
-                            if (siglePattern != null && !docId.matches(Regex(siglePattern!!))) {
+                            if (siglePattern != null && !Regex(siglePattern!!).containsMatchIn(docId)) {
                                 return@forEach
                             }
                             // LOGGER.info("Processing file: " + zipEntry.getName())