matchesRegex

fun matchesRegex(regexp: String, path: String, caseSensitive: Boolean = false): Boolean(source)