Skip to content

kimpure/globrex-lune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

globrex-lune

glob to regular expression compiler.

Note

This library is the lune version of globrex
use module : luau-regexp

Install

git submodule add https://github.com/kimpure/globrex-lune.git globrex-lune

Example

local globrex = require('globrex-lune');

local result = globrex("**/*.luau", { globstar = true })

print(result)
print(result.regex)
print(result.path)

Description

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?
}?)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages