jazzdotdev / jazz

The Scripting Engine that Combines Speed, Safety, and Simplicity
Apache License 2.0
147 stars 11 forks source link

File path matching bindings #251

Open naturallymitchell opened 5 years ago

naturallymitchell commented 5 years ago

https://github.com/Gilnaa/globwalk looks best

dariusc93 commented 5 years ago

Do you want this integrated into the path binding or do you want it to be its own thing?

naturallymitchell commented 5 years ago

separately, in pathmatch. let's use that for our namespace instead of glob

naturallymitchell commented 5 years ago

or pathmatcher

naturallymitchell commented 5 years ago

or, it's just one function, and path is the prefix anyway

so what? path.match or path.pattern or something?

dariusc93 commented 5 years ago

That should work. Looking at the different functions, I do see where match and pattern will work for start.

dariusc93 commented 5 years ago

Implemented in ba999326b512540d4300226600472bc16957f26c