Method AntMatch(string, string, bool)

Assembly: redb.Route.GenericFile.dll

Ant-style path matching, as Apache Camel's antInclude/antExclude use it:
? is one character, * matches within a single path segment and stops at a
separator, and ** spans any number of segments. Several patterns are separated by
commas, and the path is matched with / as the separator whatever the transport wrote.

This is deliberately not with a longer input: there * becomes
.* and crosses separators, so */x.csv and **/x.csv would mean the same
thing and a pattern could never name one level.

public static bool AntMatch(string relativePath, string pattern, bool caseSensitive = true)