// FULL_JDK // SKIP_TXT import java.util.regex.Pattern val strs: List = listOf("regex1", "regex2") val patterns: List = strs.map(Pattern::compile)