dendrite/vendor/github.com/tidwall/match
Benedikt Bongartz 9fd1cd7a37
Init go mod & update vendor
Signed-off-by: Benedikt Bongartz <benne@klimlive.de>
2019-05-18 03:37:24 +02:00
..
LICENSE Init go mod & update vendor 2019-05-18 03:37:24 +02:00
match.go Init go mod & update vendor 2019-05-18 03:37:24 +02:00
README.md Init go mod & update vendor 2019-05-18 03:37:24 +02:00

Match

Build Status 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.