matchAny function

Pattern matchAny (Iterable<Pattern> include, { Iterable<Pattern> exclude })

Returns a Pattern that matches against every pattern in include and returns all the matches. If the input string matches against any pattern in exclude no matches are returned.

Implementation

Pattern matchAny(Iterable<Pattern> include, {Iterable<Pattern> exclude}) =>
    new _MultiPattern(include, exclude: exclude);