v2.0.0
Added
- Added
Glob::in()method for retrieving a list of files in a directory matching a pattern - Added
Glob::filter()andGlob::rejecet()methods for filtering arrays of strings by a glob pattern - Added
Glob::escape()method for escaping glob pattern characters in a string - Added
Glob::directorySeparator()method for overriding the directory separator
Changed
- Use the OS configured directory separator for matching
*and**- Forward slash (
/) on Mac/Linux - Back slash (
\) on Windows
- Forward slash (
Detailed changelog: 1.0.0...2.0.0