winamp/Src/external_dependencies/openmpt-trunk/include/premake/website/docs/path.wildcards.md

26 lines
484 B
Markdown
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
Converts from Premake's simple wildcard syntax to a corresponding Lua pattern.
```lua
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 ###
* [os.matchdirs](os.matchdirs.md)
* [os.matchfiles](os.matchfiles.md)