The OpenD Programming Language

matchesFilePattern

This is currently a simplified glob where only the * wildcard in the first or last position gets special treatment or a single * in the middle.

More things may be added later to be more like what Phobos supports.

bool
matchesFilePattern
(
scope const(char)[] name
,
scope const(char)[] pattern
)

Meta