parseWildcardOrRegex

fun parseWildcardOrRegex(wildcardOrRegex: String): Regex(source)

Parses a wildcard or regex compatible with OptiFine syntax.