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

LIST : required
list variable to be cleaned
REGEX : required
Regex pattern of exclusions
QUIET : optional
Don’t warn if patterns don’t match