glob to regular expression compiler.
This library is the lune version of globrex
use module : luau-regexp
git submodule add https://github.com/kimpure/globrex-lune.git globrex-lune
local globrex = require('globrex-lune');
local result = globrex("**/*.luau", { globstar = true })
print(result)
print(result.regex)
print(result.path)
module import
local globrex = require('globrex-lune');
get Result
local result = globrex(glob: string, option: {
extended: boolean?,
globstar: boolean?,
strict: boolean?,
filepath: boolean?,
flags: string?
}?)