~turminal/go-fnmatch

1a55764a — Bor Grošelj Simić 2 years ago master
limit recursion to max 25 asterisks

The algorithm used is exponential in number of '*' characters. By
limiting the recursion to 25 we can guarantee it will finish reasonably
fast anyway. A testcase for this behavior is provided.

This is a port of the fix for the same bug in NetBSD libc.
2d6f71d1 — Bor Grošelj Simić 2 years ago
go mod init && go mod tidy
171be946 — Bor Grošelj Simić 2 years ago
move tests into the same package
cbb64ac3 — Daniel Wakefield 8 years ago
Create README.md
eb9738ef — Daniel Wakefield 8 years ago
Change int's to rune's and remove gospec dependency

fnmatch would not run at all without changing the int's to rune's

Removing Gospec as is is deprecated and table driven tests are just
as readable
20e709a0 — Daniel Wakefield 8 years ago
Added files via upload
dde4a391 — Daniel Wakefield 8 years ago
Initial commit