Giter VIP home page Giter VIP logo

go-wildcard's Introduction

Welcome to My GitHub Profile ๐Ÿ‘‹

GitHub Stats

About Me

Hello there! I'm a humble French coder, striving to write clean code amidst the swirling sea of my wandering thoughts.

Contact Me

You can find me on:

Feel free to reach out and connect!

go-wildcard's People

Contributors

caarlos0 avatar cosmo-ray avatar iglou-eu avatar muesli avatar qiulaidongfeng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

go-wildcard's Issues

Review the readme

My English is not perfect, so typos or mistakes can be hide in the shadow of the README.
Review are always welcome ! ๐Ÿ˜„

license?

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

Enhance unit testing for Match function and additional test cases

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.

About

Hi, I noticed that the about field was not filled,
Could you provide a short description for the project?
Thanks!

create a new tag

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:

  • changed the path on go.mod in d62667c
  • released v1.0.2
  • a couple of hours later, noticed the import of the old path was still in the test file, fixed in commit 5dbd249
  • deleted tag v1.0.2 and tagged it again

At 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!

Support flags options

Adding support for options via flags and including casefold flag functionality. This enhancement will improve the flexibility of the project.

Incorporate prepared regex test into benchmarks

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.