ecbuild_list_exclude_pattern

Exclude items from a list that match a list of patterns.

ecbuild_list_exclude_pattern( LIST <input_list>
                              REGEX <regex1> [ <regex2> ... ]
                              [ QUIET ] )

Options

LISTrequired

list variable to be cleaned

REGEXrequired

Regex pattern of exclusions

QUIEToptional

Don’t warn if patterns don’t match