Skip to content

path.wildcards

starkos edited this page Apr 10, 2021 · 3 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Converts from Premake's simple wildcard syntax to a corresponding Lua pattern.

p = path.wildcards("pattern")

Parameters

pattern is a file system path which may contain one more \* (shallow match) or \*\* (recursive match) sequences.

Return Value

A Lua pattern string which is equivalent to the input pattern.

Availability

Premake 4.0 or later.

See Also

Clone this wiki locally