If the "base" of a pattern (ie, everything up to the first path slash before any meta characters) contains an escaped meta character, doublestar would fail to glob any files.
Thanks to @tdurieux for finding and fixing this bug!
Breaking-ish Change
I've updated SplitPattern
to unescape meta characters in the first returned string. I suspect this shouldn't cause issues for anyone because, if anyone was using this function, they've probably either never passed a pattern with escaped meta characters, or hand-rolled an unescape method to fix the bug - which will now be a no-op for them.
What's Changed
New Contributors
Full Changelog: v4.7.1...v4.8.0