Skip to content

Releases: bmatcuk/doublestar

Minor Bug Fix

12 Apr 13:24

Choose a tag to compare

Improves compatibility with path.Match by supporting something like Match("*/", "a/")

Windows Absolute Paths Without Volumes; Windows Tests Fixes

17 Dec 19:27
50be492

Choose a tag to compare

Fixes Patterns that Start With Alternatives

02 Dec 20:58

Choose a tag to compare

Support for path separators inside {alts}

01 Dec 21:37

Choose a tag to compare

This release adds support for {alt} groups that include path separators, for example: {/tmp/test/example1,/tmp/test/example2}. It also adds support for nested alt groups. This should close bug #25.

UNC Support

02 Aug 01:07

Choose a tag to compare

Support for UNC paths in Glob(). Thanks @WithoutPants!

Removes Automatic Multi-Separator Clean-up Code

21 Jul 17:56

Choose a tag to compare

v1.1.2 introduced some code that would automatically clean-up multiple separators in patterns and paths (ie, /path/to//something would automatically get cleaned to /path/to/something by treating the // as /). However, it has been brought to my attention that this is not always desirable and, so, it makes sense to remove it. If this is desirable behavior, you could always cleanup your patterns and paths before passing them to doublestar, but if I leave in this code and it is undesirable, you have no option to change the behavior.

Fix Directory Issues on Windows

06 Jul 23:00

Choose a tag to compare

Windows didn't like some of the stuff in the test directory, so I've removed that from the repo and generate it on-the-fly when the tests run.

Fixed Some Corner Cases

30 Jun 01:02

Choose a tag to compare

Fixed a few corner cases where doublestar did not return the same result as golang's built-in Match functions. Since doublestar is meant to be a drop-in replacement, it should produce the same results.

Thanks @storyicon for submitting the bug report!

Fixed Glob / Support on Windows

11 Aug 13:52

Choose a tag to compare

Oops! Thanks to @fernferret for catching my mistake!

Allow / with Glob on Windows

11 Aug 04:10

Choose a tag to compare

filepath.Glob will accept patterns with / characters on Windows, so, doublestar should, too. Hopefully this won't break anything for anyone!