in the example
Code: Select all
{languages.any{ audioLanguages =~ it } ? "[Original Language]" : "[Dubbed]"}
Code: Select all
{languages.any{ audioLanguages =~ it } ? "[Original Language]" : "[Dubbed]"}
Groovy: Select all
languages.any{ audioLanguages =~ it }
Groovy: Select all
languages.any{ language -> java.util.regex.Pattern.compile(language.toString()).matcher(audioLanguages.toString()).find() }