Hello there! I'm a humble French coder, striving to write clean code amidst the swirling sea of my wandering thoughts.
You can find me on:
Feel free to reach out and connect!
๐ Fast and light wildcard pattern matching.
License: Other
Consider of supporting the advanced Wildcard pattern matching, like defined by GNU Libc
https://www.gnu.org/software/libc/manual/html_node/Wildcard-Matching.html#index-FNM_005fEXTMATCH
What do you think ?
My English is not perfect, so typos or mistakes can be hide in the shadow of the README.
Review are always welcome ! ๐
Hi, I noticed that there was a re-licensing of the project, they changed from Apache License Version 2.0 to GNU Affero General Public License 3.0 or later.
Please take a look at this:
minio/minio@0694325
https://github.com/minio/pkg/blob/9979833e9530cdf64a107aebdcb05d154624b347/wildcard/match.go
Are you planning to do the same or will you keep the project with the Apache License Version 2.0?
You do realize that when you fork code, the original copyright applies. That's why it's called COPYright. You can't release the same work (fork/copy/derative of the work) under another license. That's exactly what the GNU licenses are there for to prevent. All derivative works should also make their source code available under the same GNU Affero General Public License 3.0.
Tl;Dr: https://www.tldrlegal.com/license/gnu-affero-general-public-license-v3-agpl-3-0
In order to ensure the reliability of the Match function, we should expand our unit testing to include more comprehensive verification and a wider variety of test cases. This will allow us to detect potential issues early on and maintain the quality of our codebase.
Jerf brought this to my attention on reddit : https://www.reddit.com/r/golang/comments/13elvqc/comment/jjw1yi3
This feature is not supported by filepath.Match either, but can be very interesting.
We can discuss it here if you have ideas for implementing it.
At this time, no PR will be accepted without benchmarking or discussion.
Hi, I noticed that the about field was not filled,
Could you provide a short description for the project?
Thanks!
running
go mod init foo
go get github.com/IGLOU-EU/go-wildcard
echo 'package main
import (
"fmt"
wildcard "github.com/IGLOU-EU/go-wildcard"
)
func main() {
str := "daaadabadmanda"
pattern := "da*da*da*"
result := wildcard.MatchSimple(pattern, str)
fmt.Println(str, pattern, result)
pattern = "?a*da*d?*"
result = wildcard.Match(pattern, str)
fmt.Println(str, pattern, result)
}
' > main.go
go mod tidy
results in both github.com/IGLOU-EU/go-wildcard v1.0.2
and git.iglou.eu/Imported/go-wildcard v1.0.1
being added to go.mod
and go.sum
.
My guess, after looking into the commits and some other things:
go.mod
in d62667cAt that point, Go mod proxy had already cached the broken version, so when you go get
you get that one instead of the intended one.
My suggestion would be to release a v1.0.3 to fix that.
cc/ @muesli
Cheers!
Adding support for options via flags and including casefold flag functionality. This enhancement will improve the flexibility of the project.
To gain deeper insights into the performance, we should add a prepared regex test into our benchmark suite. This addition will allow us to measure performance comparison with principal alternatives.
Don't miss warning, because prepared regex a not to single shot purpose.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.