shaker-0.5.1: simple and interactive command-line build tool

Shaker.Regex

Description

Allow to filter a list of string with fileListenInfoInclude and exclude patterns

Synopsis

Documentation

processListWithRegexpSource

Arguments

:: [String]

Initial list to filter

-> [String]

exclude patterns (regex)

-> [String]

fileListenInfoInclude patterns (regex)

-> [String]

List with all elements matching fileListenInfoInclude patterns minus all elements matching exclude patterns

Filter all elements matching fileListenInfoInclude patterns and remove all elements matching exclude patterns to the result.

If no fileListenInfoInclude pattern is given, all elements are accepted minus those matching exclude patterns.

If no exclude pattern is given, all elements matching fileListenInfoInclude patterns are taken.