Systems
vglob
Finds the files on disk whose paths match a pattern.
Released v1.0.0 · 2026-09-28use "stdlib/glob.ven"
Filesystem pathname pattern matching, such as listing every file that matches a wildcard pattern in a folder, built on Venutian's own filesystem builtins together with the standard library's own filename pattern package. It mirrors the everyday case of expanding a pattern like a shell would, against real files on disk.
print glob("reports/*.txt")
API reference
glob(pattern)
Expands a shell-style glob pattern against the real filesystem.
glob("reports/*.txt")
:: gives: ["reports/feb.txt", "reports/jan.txt"]escape(pathname)
Escapes any glob wildcard characters in pathname for a literal match.
escape("report_[1].txt")
:: gives: "report_[[]1].txt"