fun regexPatterns(pattern: String, vararg otherPatterns: String): RegexPatterns (source)
Helper function to create a RegexPatterns based on the given pattern and otherPatterns
-- allows to express String, vararg String which are treated as regex patterns.