filestash/vendor/github.com/tidwall/match
2023-03-14 18:12:08 +11:00
..
LICENSE maintain (go): vendor dependencies 2020-01-20 17:12:09 +11:00
match.go maintenance (deps): upgrade golang deps 2022-01-19 23:01:01 +11:00
README.md maintain (deps): bump up 2021-08-30 23:32:55 +10:00

Match

GoDoc

Match is a very simple pattern matcher where '*' matches on any number characters and '?' matches on any one character.

Installing

go get -u github.com/tidwall/match

Example

match.Match("hello", "*llo") 
match.Match("jello", "?ello") 
match.Match("hello", "h*o") 

Contact

Josh Baker @tidwall

License

Redcon source code is available under the MIT License.